PHP ภาษา ไทย
- Tue, 22 Mar 2022 17:00:00 +0000: Task note ใน vscode ที่ผมใช้ - PHP – select2web.com
สาเหตุที่ชอบเพราะว่า task ที่เขียนไว้มันเขียนลงไปในไฟล์ ทำให้สามารถ commit ไปกับ git ได้ task ที่จดๆไว้ก็ไม่หายไปไหนแล้ว มันไม่เหมือน extension ตัวอื่นที่ task มันติดอยู่กับตัว editor - Sun, 20 Mar 2022 17:00:00 +0000: TCPDF สร้างไฟล์ PDF ด้วย PHP ตอนที่ 11 การพิมพ์ข้อความลงในเอกสารด้วยคำสั่ง WriteHTML - PHP – select2web.com
คำสั่ง WriteHTML เป็นคำสั่งที่อนุญาติให้เราจัดเอกสาร PDF ได้ด้วยคำสั่ง HTML ซึ่งสามารถที่จะใส่แท็กอะไรเข้าไปก็ได้ อย่างถ้าเราใส่แท็ก a เข้าไป สิ่งที่พิมพ์ออกมาในไฟล์ PDF ก็จะเป็นลิ้งก์ หรือถ้าหากเราใส่แท็ก h1 เข้ามา มันก็จะแสดงออกมาเป็นตัวอักษรตัวหนาและใหญ่ - Thu, 17 Mar 2022 17:00:00 +0000: วิธีแก้ปัญหา Error: MySQL shutdown unexpectedly. This may be due to a blocked port - PHP – select2web.com
Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues If you need more help, copy and post this entire log window on the forums - Tue, 15 Mar 2022 17:00:00 +0000: TCPDF สร้างไฟล์ PDF ด้วย PHP ตอนที่ 10 พิมพ์ข้อความลงในเอกสารด้วยคำสั่ง Write() - PHP – select2web.com
วันนี้เรามาดูกันที่คำสั่ง Write ก่อน คำสั่ง Write เป็นคำสั่งที่เหมาะสำหรับพิมพ์ตัวหนังสือเยอะๆเหมือนพิมพ์หนังสือหรือบทความ - Sun, 13 Mar 2022 17:00:00 +0000: TCPDF สร้างไฟล์ PDF ด้วย PHP ตอนที่ 9 เพิ่มฟ้อนต์ภาษาไทย - PHP – select2web.com
เราอยู่เมืองไทย เอกสารที่ทำส่วนใหญ่เป็นภาษาไทย ถ้าคลาสตัวไหนทำภาษาไทยไม่ได้ก็จบข่าว สำหรับ TCPDF แล้วเราสามารถเพิ่มฟ้อนต์ไทยเข้าไปในเอกสารได้ง่ายๆ โดยดาวน์โหลดมาจาก google font ได้เลย
ภาษา ไทย
WordPress
rssinpage [ rssfeed=’http://www.smashingapps.com/2011/03/18/13-excellent-plugins-to-enhance-the-power-of-wordpress-admin-section.html/feed’]
הדרכות
- Tue, 10 Sep 2024 08:49:28 +0000: How Data Analytics Consulting Enhances Product Development - noupe
Data has become the lifeblood of successful product development in today’s competitive market. Companies no longer rely solely on intuition or past experiences; instead, they harness the power of data to make informed decisions that drive innovation. But raw data alone is not enough. This is where data analytics consulting comes into play. It converts...
The post How Data Analytics Consulting Enhances Product Development appeared first on noupe.
- Mon, 09 Sep 2024 12:36:04 +0000: Brand Storytelling in Field Services: Connecting with Customers Through Narrative - noupe
Did you know that 55% of consumers are more likely to buy from a brand if they love its story? Or that businesses with a strong brand story have a 22% higher valuation than those without? These statistics highlight a powerful truth in the field services industry: storytelling matters. Brand storytelling has emerged as a...
The post Brand Storytelling in Field Services: Connecting with Customers Through Narrative appeared first on noupe.
- Mon, 09 Sep 2024 11:22:15 +0000: How to Skyrocket Your Profits with Mobile Affiliate Marketing? - noupe
Mobile devices have revolutionized the dynamics of human interaction with the digital world drastically. They are now one of the essential things in our lives, determining various aspects like shopping and entertainment among others. Similarly, there is a surge in mobile affiliate marketing due to this shift in consumer behavior which has created a lucrative...
The post How to Skyrocket Your Profits with Mobile Affiliate Marketing? appeared first on noupe.
- Mon, 09 Sep 2024 05:48:45 +0000: Cultivating Brand Success: Leveraging LLC Structure for Effective Marketing Strategies - noupe
Entrepreneurs, startup founders, and small business owners all share a common goal: building a thriving brand. But in today’s competitive landscape, achieving success requires more than just a great product or service. You need effective marketing strategies that resonate with your target audience. Something few entrepreneurs consider is that the structure you choose for your...
The post Cultivating Brand Success: Leveraging LLC Structure for Effective Marketing Strategies appeared first on noupe.
- Thu, 05 Sep 2024 13:54:25 +0000: How to Make Digital Invitations: A Step-by-Step Guide - noupe
Invitations have evolved far beyond traditional printed cards. With the advent of digital tools and technologies, it’s now easier than ever to learn how to make digital invitations that are both beautiful and impactful. These digital invitations can be just as stunning as their physical counterparts, and the best part is that you can design...
The post How to Make Digital Invitations: A Step-by-Step Guide appeared first on noupe.
- Tue, 10 Sep 2024 08:49:28 +0000: How Data Analytics Consulting Enhances Product Development - noupe
Data has become the lifeblood of successful product development in today’s competitive market. Companies no longer rely solely on intuition or past experiences; instead, they harness the power of data to make informed decisions that drive innovation. But raw data alone is not enough. This is where data analytics consulting comes into play. It converts...
The post How Data Analytics Consulting Enhances Product Development appeared first on noupe.
- Mon, 09 Sep 2024 12:36:04 +0000: Brand Storytelling in Field Services: Connecting with Customers Through Narrative - noupe
Did you know that 55% of consumers are more likely to buy from a brand if they love its story? Or that businesses with a strong brand story have a 22% higher valuation than those without? These statistics highlight a powerful truth in the field services industry: storytelling matters. Brand storytelling has emerged as a...
The post Brand Storytelling in Field Services: Connecting with Customers Through Narrative appeared first on noupe.
- Mon, 09 Sep 2024 11:22:15 +0000: How to Skyrocket Your Profits with Mobile Affiliate Marketing? - noupe
Mobile devices have revolutionized the dynamics of human interaction with the digital world drastically. They are now one of the essential things in our lives, determining various aspects like shopping and entertainment among others. Similarly, there is a surge in mobile affiliate marketing due to this shift in consumer behavior which has created a lucrative...
The post How to Skyrocket Your Profits with Mobile Affiliate Marketing? appeared first on noupe.
- Mon, 09 Sep 2024 05:48:45 +0000: Cultivating Brand Success: Leveraging LLC Structure for Effective Marketing Strategies - noupe
Entrepreneurs, startup founders, and small business owners all share a common goal: building a thriving brand. But in today’s competitive landscape, achieving success requires more than just a great product or service. You need effective marketing strategies that resonate with your target audience. Something few entrepreneurs consider is that the structure you choose for your...
The post Cultivating Brand Success: Leveraging LLC Structure for Effective Marketing Strategies appeared first on noupe.
- Thu, 05 Sep 2024 13:54:25 +0000: How to Make Digital Invitations: A Step-by-Step Guide - noupe
Invitations have evolved far beyond traditional printed cards. With the advent of digital tools and technologies, it’s now easier than ever to learn how to make digital invitations that are both beautiful and impactful. These digital invitations can be just as stunning as their physical counterparts, and the best part is that you can design...
The post How to Make Digital Invitations: A Step-by-Step Guide appeared first on noupe.
- Fri, 06 Sep 2024 08:33:24 +0000: Send email in Python with the API method: A step-by-step guide - Envato Tuts+ Tutorials
If you want to send emails in Python, use a reliable and secure email API solution. In this article, you’ll learn the step-by-step process of sending emails in Python using the API method.
Setting up the email API
To streamline email sending in Python, you can use a transactional email service such as Mailtrap, Gmail API, Sendgrid, etc. And, an API also allows you to automate much of email sending
Now, I’ll show you how to send different types of emails (plain text, email with attachments, HTML emails) and email multiple recipients in Python using an email API Before that, let’s understand how to set up an email API:
- Choose an email API: To get started, choose an email API according to your preferences. Make sure it offers Python SDKs to send automated emails (for example Mailtrap’s Python SDK).
- Sign up: Sign up to the chosen email API provider.
- Connect and verify your domain: Next, connect and verify your domain with the email API service provider you’ve chosen. If not verified, you will be able to send emails to the account owner’s email address only.
This ensures recipients only receive genuine emails, avoiding spam. Based on the service provider, complete domain authentication.
- Install email API library: Let’s call our email API - “MyEmailAPI”. Ensure the Python app is installed in your system and then install MyEmailAPI’s Python SDK using the below command:
pip install myemailapi
Send a plain text email
Step 1: Create your mail object and fill in the variables
1
import myemailapi
2
3
# Create a mail object
4
5
mailobj = Mail(
6
newsender= Address(email1=“testmail@domain.com”, name=“Test Sender”),
7
to=[Address(email1=“reciever@example.com”, name=“Test Receiver”)],
8
newsubject=“Test email”,
9
newtext=“This is a plain-text email.”,
10
)
Now, create the email client using your API tokens by:
- Opening your email API account
- Finding API tokens and copying the credentials
Step 2: Send your message
# Define email API client and send email
1
emailclient = MyEmailAPIClient(newtoken=“new-api-key”)
2
emailclient.send(mailobj)
Here’s the complete code snippet:
1
from myemailapi import Mail, EAddress, MyEmailAPIClient
2
mailobj = Mail(
3
# Define sender address and name
4
newsender=Address(email1=“testmail@domain.com”, name=“Test Sender”),
5
# Define receivers
6
to=[Address(email1=“receiver@example.com”, name=“Test Receiver”)],
7
# Email subject
8
newsubject=“Test email”,
9
# Define plain text
10
newtext=“Hi,/nThis is a plain-text email.”,
11
)
12
13
# Define MyEmailAPIClient using your API keys
14
emailclient = MyEmailAPIClient(newtoken=“new-api-key”)
15
16
# Send your plain-text email
17
emailclient.send(mailobj)
18
19
print(“Congrats! You’ve successfully sent your first plain text email in Python.”)
Send an HTML email
Follow the instructions to send an HTML email:
- Specify the HTML Parameter: Specify the ‘html’ parameter for the object - “Mail”. This is where you’ll keep the HTML content you create. Email clients that can display HTML will render this email section.
- Fallback Text Content: If an email client can’t render HTML content, the plain text you’ll define inside the email will be used as the fallback. This is also useful for end-users preferring pure text-based emails.
Here’s the full code snippet for sending a Python email with HTML content:
1
from myemailapi import Mail, EAddress, MyEmailAPIClient
2
3
mailobj = Mail( # Create the Mail object for the HTML email
4
# Define sender address and name
5
newsender=Address(emailaddress=“testmail@domain.com”, name=“Test Sender”),
6
# Define receivers
7
to=[Address(emailaddress=“receiver@example.com”, name=“Test Receiver”)],
8
# Define email subject
9
newsubject=“HTML email”,
10
# Define text
11
newtext=“Hi,/nEmail client can’t render HTML? Use this fallback text.”,
12
html_text=“””
13
<html>
14
<head>
15
<title>Title</title>
16
</head>
17
18
<body>
19
<h1>Hi, there!</h1>
20
<p>This is text HTML content sent using MyEmailAPI.</p>
21
</body>
22
</html>
23
“””,
24
)
25
26
# Define MyEmailAPIClient using your API keys
27
emailclient = MyEmailAPIClient(newtoken=“new-api-key”)
28
29
# Send your HTML email
30
emailclient.send(mailobj)
31
32
print(“Congrats! You’ve successfully sent your first HTML email.”)
Send an email to multiple recipients
Follow the below instructions:
- Multiple Recipients Configuration: I’ll change the recipient section to set up the email for more recipients. Instead of using only one ‘to’ address, we’ll use multiple addresses.
- Setting the ‘To’ field: In the below code, we’ll define two recipient addresses for the ‘To’ field- receiver1@example.com and receiver2@example.com. In addition, we’ll define names for each recipient - Test Receiver 1 and Test Receiver 2.
Here’s the complete code for sending an email to multiple recipients in Python:
1
from myemailapi import Mail, EAddress, MyEmailAPIClient
2
3
# Create the Mail object for multiple recipients
4
mailobj = Mail(
5
# Define sender address and name
6
newsender=Address(emailaddress=“testmail@domain.com”, name=“Test Sender”),
7
# Define receivers
8
to=[
9
Address(emailaddress=“receiver1@example.com”, name=“Test Receiver 1”)],
10
Address(emailaddress=“receiver2@example.com”, name=“Test Receiver 2”)],
11
],
12
# Define email subject
13
newsubject=“ This is email subject”,
14
# Define text
15
newtext=“Hello, /nThis email has multiple recipients.”,
16
)
17
18
# Define MyEmailAPIClient using your API keys
19
emailclient = MyEmailAPIClient(newtoken=“new-api-key”)
20
21
# Send email
22
emailclient.send(mailobj)
23
24
print(“Congrats! You’ve successfully sent emails to multiple recipients in Python.”)
Send an email with attachments
Follow the below instructions:
- Specify the file path: First, specify the file path for the attachments. The code will read the file content as bytes to ensure each attachment has proper encoding. This way, attachments are transmitted securely over the network.
- Encode in Base64: Ensure to encode the file content in base64 to protect it from malicious actors as email protocols lack binary-safe features. When you encode your file content, the binary data will be converted into text for secure transmission. Use the following method to encode the file content:
base64.b64encode
- Create the file Attachment: Create the Attachment class instance with the following parameters:
- disposition_new: To indicate the file as an attachment, the ‘disposition_new’ is set to ‘Disposition.ATTACHMENT’.
- content_new: It represents the file content encoded in base64
- mimetype_new: The parameter signals email clients about the file type.
Here’s the complete code:
1
from myemailapi import Mail, EAddress, MyEmailAPIClient Attachment, Disposition
2
import base64
3
from pathlib import Path
4
5
# Define files to attach
6
filepath = Path(“thisis/your/filepath/abc.pdf”) # Insert your file’s name
7
filecontent = filepath.read_bytes()
8
9
# Base64 is used to encode the content of the file
10
encodedcontent = base64.b64encode(filecontent)
11
12
# Specify the email object with an attachment
13
mailobj = Mail(
14
# Define sender address and name
15
newsender=Address(emailaddress=“testmail@domain.com”, name=“Test Sender”),
16
# Define receiver
17
to=[Address(emailaddress=“receiver@example.com”, name=“Test Receiver”)],
18
# Define email subject
19
newsubject=“ Attachment inside!”,
20
# Define text
21
newtext=“Hello, /nThis email has an important attachment.”,
22
# Define email attachment
23
attachments_new=[
24
Attachment(
25
content_new=encodedcontent,
26
filename_new=filepath.name, # The file name
27
disposition_new=Disposition.ATTACHMENT,
28
mimetype_new= “application/pdf”, # The file type used here is PDF
29
)
30
],
31
)
32
33
# Define MyEmailAPIClient using your API keys
34
emailclient = MyEmailAPIClient(newtoken=“new-api-key”)
35
36
# Send email
37
emailclient.send(mailobj)
38
39
print(“Congrats! You’ve successfully sent emails with an attachment.”)
Test the email before sending
Before you send bulk emails using an email API service, make sure you test it beforehand on a test server. This is similar to testing a new application or rolling out a new feature in your app.
An email testing API will work like a third-party web server. You’ll get a secure staging environment where you can handle your email traffic internally and check if the email sending functionality is working fine. You can also detect and resolve bugs and errors before sending your emails to targeted recipients. In addition, you can preview and evaluate your email content across different devices and email clients in order to optimize your message.
As a result, you’ll be able to:
- Send emails to the right recipients and enhance email deliverability
- Avoid spamming recipients with too many test emails
- Prevent sending emails with broken links, especially in transactional emails like subscription confirmation emails
- Safeguard your domain reputation by preventing domain blacklisting or getting higher spam scores
Thus, before you send your emails, send them to a designated email address using an email testing API. View the email content, check links, fix issues, and then only send your emails to the target audience.
In the below section, I’ll show you how to test an email using a hypothetical email testing API - ‘EtestAPI’. Here’s how to get started step-by-step:
- Connect to the EtestAPI client
- Define email content - subject, text, attachments (if any), sender, and receiver(s)
- Generate a POST request to EtestAPI using your data and API token.
Here’s the full code to test your email using EtestAPI:
1
# Import ‘json’ and ‘requests’ libraries for handling JSON data and HTTP requests
2
import requests
3
import json
4
5
# Define a function ‘test_my_email’ with parameters for email testing
6
def test_my_email(etestapi_token1, inbox_id1, sender_email1, recipient_email1, subject, text):
7
url = f"https://api.etestapi.com/v1/inboxes/{inbox_id1}/messages"
8
headers = {
9
"Authorization": f"Bearer {etestapi_token1}",
10
"Content-Type": "application/json",
11
}
12
13
data = {
14
"from": [{“sender_email1”: “sender@domain.com”, “name”: “Test Sender”}],
15
"to": [{“recipient_email1”: “receiver@example.com”, “name”: “Test Receiver”}],
16
"subject": “Email Test”,
17
"text": “Hi,/nLet’s perform email testing”,
18
}
19
20
21
# Convert data to a JSON string
22
json_data = json.dumps(data)
23
24
# make a POST request using ‘requests.post’ to send your email to EtestAPI and get the response in JSON
25
response = requests.post(url, headers=headers, json_data)
26
27
if response.status_code == 200:
28
print("Congrats! Your email test is successful!")
29
print("The test email is sent to EtestAPI inbox.")
30
else:
31
print(f"Test email failed: {response.status_code}")
32
print(response.text)
Explanation:
- ‘url’: API endpoint URL is constructed
- ‘headers’: Headers are set up, defining the type of content and API token
- response.status.code: It helps you check whether your email was successfully sent to the email test API.
Summing up
Using a reliable and secure email API solution allows you to send emails faster, without hassles. If you run a business, an email API will help you automate the process. Thus, you can send highly personalized and bulk emails quickly with a few lines of code as we’ve mentioned above.
We also recommend you refer to the Python documentation and the email API solution you prefer. Keep experimenting with new code and exploring email-sending functionalities.
- Mon, 12 Aug 2024 14:07:51 +0000: How to create a dripping paint text effect - Envato Tuts+ Tutorials
In the following tutorial, you will learn how to create a paint-dripping effect in Adobe Photoshop. I'll take you through the whole process step by step.
If you don't have the time to make this dripping-paint text, then Envato is the solution. This subscription-based marketplace has thousands of add-ons you can download without restrictions! You can find plenty of Photoshop text effects to inspire you.
What you'll learn in this Photoshop text effect tutorial
- How to add effects to text in Photoshop
- How to add dripping paint effects
- How to add spray-paint drip effects
- How to mask and stylize dripping paint
- How to save a dripping paint pattern
What you'll need
You'll need the following resources to complete this Photoshop text effect:
1. How to create a new document and set up the background
Step 1
Create a new document (Control-N), setting the Width to 1700 px and the Height to 1500 px.
Step 2
We'll start with the background. You'll need image #3 from this pack of Acrylic Paint Backgrounds. Simply drag it into your Photoshop document, focus on the Options bar (Window > Options), and set the Width to about 2300 px.
To center this photo, you can press Control-A to load a selection around your entire canvas, pick the Move Tool (V), and then click the Align horizontal center and Align vertical center buttons from the Options bar.
2. How to add the text
Step 1
Pick the Horizontal Type Tool (T) from your toolbar, and make sure that the Foreground color is set to white (R=255 G=255 B=255).
Move to the Options bar to choose the settings for the text that you're about to add. We'll use the Montserrat font. Select the Black style and set the Size to about 350 pt, and don't forget to check that Center Text button.
Once you're done, just click on your canvas and type in your text. We'll use "WET PAINT" for this example, but feel free to add your own text.
Step 2
Focus on the Layers panel (Window > Layers), hold down the Control key, and click your text to load a selection around it.
Step 3
With the selection around the text still active, go to Select > Modify > Smooth. Set the Radius to 3 px and click OK.
Return to the Layers panel, make sure that your text is selected, and click the Add layer mask button. The mask will add a subtle roundness to the corners of your text.
Step 4
Now let's add some Drop Shadows to the text. You can either double-click it (in the Layers panel) or go to Layer > Layer Style > Drop Shadow.
Use the plus button to add another two Drop Shadows below the existing one, and then enter the settings shown in the following images.
3. How to add the dripping paint
Step 1
For the drip paint effect, we'll use several brushes from this set of Ink Splatter Brushes. Download the ABR file and double-click it to load the brushes in the Brushes panel (Window > Brushes).
We'll start with "Ink Splatter_01", but first go to the Layers panel and add a new layer using the Create a new layer button. Name it "Ink Splatter_01" to distinguish it. Keep in mind that you'll need to add new layers whenever you add a new brush to your design. Keep naming the layers with the names of your brushes.
Keep your "Ink Splatter_01" layer selected, pick the Brush Tool (B), and set the foreground color to black (R=0 G=0 B=0).
Select the "Ink Splatter_01" brush from the Brushes panel and set the size to 600 px. Use the left and right arrow keys to rotate your brush until you get to the angle shown below. Finally, click a couple of times (three should be enough) in the same spot to diminish the transparency of the brush.
Step 2
Add a new layer and name it "Ink Splatter_01 B". As the name suggests, we'll use the "Ink Splatter_01" brush again.
Lower the size to 500 px and add a second dripping paint effect, as shown below. Don't forget to click three times in the same spot to diminish the brush transparency.
Step 3
Continue with "Ink Splatter_03" after you add a new layer and name it accordingly. Set the Size to 500 px and apply the brush as shown below.
Step 4
Continue with "Ink Splatter_04" and add two new layers as we're going to use this brush twice. Set the Size to 800 px and apply the brushes as shown below.
Before we continue, you need to flip the second instance of this brush. Just select its layer and go to Edit > Transform > Flip Horizontal.
Step 5
Move on to "Ink Splatter_06". Add a new layer and name it accordingly. Set the Size to 700 px and apply the brush as shown below.
Step 6
Again, add two new layers as we're going to use "Ink Splatter_08" twice. Add the two brushes as shown below, using the indicated Size values. Once you're done, select just the bottom one and flip it horizontally (Edit > Transform > Flip Horizontal).
Step 7
Continue with "Ink Splatter_09" and add a new layer. Set the Size to 500 px and apply the brush as shown below.
Step 8
Next, you'll need "Ink Splatter_12". Instead of adding a new layer, select your first "Ink Splatter_04" layer. Set the Size to 700 px and apply the "Ink Splatter_12" brush on top of the existing one, as shown below.
Step 9
Continue with "Ink Splatter_17". Set the Size to 600 px and add a new layer, and then apply the brush as shown below.
Step 10
Finally, add another two layers as we're going to use "Ink Splatter_19" twice. Apply the two brushes as shown below, using the indicated Size values.
4. How to color the dripping paint
Step 1
Select each "Ink Splatter" layer and turn it into a smart object. A simple right-click followed by Convert to Smart Object will turn any layer into a smart object.
Step 2
Now that you have your smart objects, let's make some color adjustments for approximately half of these brushes.
Focus on one of your smart objects (in the Layers panel) and double-click it to open it in a separate window and adjust its color. Open the Layer Style window for the existing layer, apply a Color Overlay, and set the color to R=72 G=0 B=193. Repeat the same technique for roughly half of your brushes, as shown below.
Step 3
Focus on the remaining black brushes. Apply the same Color Overlay effect, but this time set the color to R=246 G=118 B=71.
5. How to mask the dripping paint
Step 1
Now that we've colored the brushes, let's mask them. Have a look in the Layers panel and get to your text. Hold down the Control key and click the mask to load a selection around it.
Select one of your smart objects from the Layers panel and click the Add layer mask button. This will hide the parts of the brush that do not overlap with the text.
Keep this new mask selected, and grab the Brush Tool (B). Pick a Hard Round brush from the Brushes panel, and make sure that the Foreground Color is set to white. Now, simply paint the bottom area of your masked brush to make it visible again. To hide a specific region again, set the Foreground Color to black and then paint that region. Keep in mind that you can use the D key to reset the Foreground Color and the Background Color to black and white. Using the X key, you can easily swap the Foreground and Background colors.
Step 2
Let's continue masking the rest of the brushes. Again, load a selection around the mask of the text, and then use it to mask the brush.
Once masked, use the Brush Tool (B) to make the dripping parts visible again, as shown in the second image.
Step 3
Now comes the more repetitive part. Mask the rest of your brushes as we did with the first two, and use your creativity when deciding which part should remain visible.
6. How to save a dripping-paint pattern in Photoshop
Step 1
Before we continue with the final touches for this paint-dripping text, let's save a pattern.
First, create a 1700 x 1200 px new document. You'll need image #9 from Acrylic Paint Backgrounds. Drag it inside this new document, set the Height to 1200 px and don't forget to center this image.
Step 2
Convert your image into a smart object, and then go to Layer > New Adjustment Layer > Black & White.
Step 3
To save this black and white image as a pattern, go to Edit > Define Pattern. Give it a name and click OK. We'll use this pattern shortly.
7. How to stylize the dripping paint
Step 1
Now it's time to stylize these paint drip effects.
Open the Layer Style window for one of your purple brushes, and apply all the effects shown in the following images. Use your saved pattern when you get to the Pattern Overlay section.
Once you're done, right-click your stylized dripping paint (in the Layers panel) and go to Copy Layer Style. Select the rest of your purple brushes, right-click one of these, and go to Paste Layer Style.
Step 2
Use the same Layer Style settings for your orange brushes, but change the colors used for the two Drop Shadow effects.
Congratulations! You're done!
Here is how your painting drip effect should look. I hope you've enjoyed this tutorial and can apply these techniques in your future projects.
Feel free to adjust the final Photoshop text effect and make it your own. You can find some great sources of inspiration at Envato, with interesting solutions to improve any 3D text effect in Photoshop.
Popular dripping paint assets from Envato
Envato is an excellent resource for cool Photoshop text effects. Here's a short list of some of the most popular painting drip effects that you can find.
Spray paint drip textures (EPS, AI, PNG)
Here are some authentic spray paint drip textures! These vector paint drip textures are ready to be dropped into your design project with ease.
Dripping paint effect (JPG)
Looking to create a cool text effect in Photoshop? Well, this chromatic dripping paint effect might be the perfect fit.
3D paint text effect (ATN)
Cut the hassle of learning how to add effects to text in Photoshop, and use this action to create your own 3D paint text effect.
Vector paint drip pattern (AI, EPS, JPG, SVG)
Keep it smooth and simple with this vector paint drip pattern. These spray-paint drips could be the perfect solution if you're looking to put together a simple design.
Cartoon Paint Dripping Effect (ATN, PDF)
Here's another cool technique that you can use to make a design stand out using a dripping paint effect.
Want to Learn More?
We have loads of Photoshop text effects tutorials on Envato Tuts+, from beginner to intermediate level. Take a look!
- Thu, 18 Jul 2024 13:13:20 +0000: What are experimental films? - Envato Tuts+ Tutorials
Experimental films are also known as avant-garde, which literally means the ‘vanguard’ or ‘advanced guard’—so people ahead of their time! Unlike mainstream cinema, which usually sticks to established structures and techniques, experimental films prioritise expression and innovation. They can vary a lot in style and approach, but they tend to have a few things in common:
- Non-traditional narrative: Experimental films often spurn linear storytelling in favour of more fragmented or abstract narratives.
- Innovative techniques: Filmmakers use unconventional methods in cinematography, editing, and sound design.
- Focus on form and content: The emphasis is often on a visual and auditory experience rather than on plot or character development.
- Personal expression: Many experimental films reflect the unique vision and style of the filmmaker.
Experimental vs. mainstream cinema
One of the biggest differences between experimental and mainstream cinema is the narrative structure. Mainstream films often follow a three-act structure with a beginning, middle, and end. Experimental films usually use non-linear or fragmented narratives, focusing more on mood and atmosphere than on plot.
In production, mainstream movies are normally going for a polished and commercially viable finished product. They might use expensive special effects, well-known actors, and so on. Experimental films are more likely to use things like found footage, hand-painted frames, and weird camera angles.
Audience expectations are generally different for experimental films when compared to mainstream cinema. Avant-garde films are for niche audiences who are used to the unconventional storytelling methods, and they often have a limited release at film festivals, galleries, or independent cinemas. They’re more about artistic expression than being a commercial hit. Mainstream films, though, are designed to attract big audiences and make money at the box office. This means they have to appeal to a wide range of viewers, so they often stick with clear storytelling, relatable characters, and satisfying endings.
A quick history of experimental cinema
The beginning
In the 1920s, cinema was starting to get into its stride. The resistance it had seen from the upper classes (as a low-brow form of entertainment) was fizzling out, so artists and filmmakers began to explore film as a means of artistic expression.
European avant-garde movements like Dadaism and Surrealism had a big influence on this, and films like Un Chien Andalou (1929) by Luis Buñuel and Salvador Dalí (yes the artist!) broke new ground with dreamlike sequences and shocking imagery. Un Chien Andalou is a short film with disjointed imagery, and it opens with a scene where an eye is cut open with a razor. These shocking visuals were meant to evoke emotions and thoughts, rather than get across any kind of narrative.
What are Dadaism and surrealism?
Dadaism embraces chaos and absurdity, with a focus on the unconscious mind and dream logic. It came out of reactions to the First World War and had an anti-bourgeois sentiment. Quite often filmmakers would use collages with found objects and strange materials to make their work.
Surrealism was influenced by Sigmund Freud’s theories and uses techniques like automatism and juxtaposition to create outlandish and illogical scenes that are supposed to unlock deeper parts of our imagination and experience.
Mid-20th century
Experimental cinema had a bit of a boom in the mid-20th century, particularly in the United States and Europe. Maya Deren’s Meshes of the Afternoon (1943) uses surreal, symbolic imagery and advanced editing techniques to explore themes of identity and perception. Kenneth Anger's Scorpio Rising (1963) combined pop culture and occult symbolism, using a soundtrack that integrated rock and roll music with provocative visuals—pretty ground-breaking for the time! Anger is quite often credited with laying the groundwork for modern music videos.
Stan Brakhage’s work, particularly Dog Star Man (1964), pushed the limits of visual abstraction, using techniques like painting directly onto film and using extreme close-ups of natural objects. His films didn’t have traditional narratives, focusing instead on the sensory and emotional impact of the sound and visuals.
Film co-operatives and independent cinemas sprung up, which provided platforms for these experimental works to be shown and discussed, helping the genre to grow.
Late 20th century
Digital technology opened up new possibilities for experimental filmmakers in terms of lower production costs, so there was flexibility to experiment, and new voices of the genre started to pop up from around the world.
Directors such as David Lynch, with films like Eraserhead (1977), kept pushing the boundaries of narrative and visual style. He was in his early 30s when the film was released to mixed reviews describing it as "a dream of dark and troubling things".
Contemporary experimental films
In terms of up-to-date experimental films, you might wonder how they can make them stand out or be shocking, when so much has already been done! Well, the likes of Apichatpong Weerasethakul and Lars von Trier are continuing to push those boundaries. Von Trier favours trilogies, either by style or by theme, and is such a fan of avant-garde that he even founded Dogme 95 (along with Thomas Vinterberg) in 1995, his own filmmaking movement that set out ‘purifying’ principles like:
-
Films must be shot on location, without bringing in props or sets.
-
Diegetic sound only; music must be part of the scene.
-
Handheld cameras should be used for all filming.
-
Colour film must be used without special lighting.
-
The film must take place in the here and now; no historical or futuristic settings.
-
Genre movies are not allowed.
-
The film must be in the Academy 35mm format.
-
The director must not be credited.
With the evolution of technology, filmmaking has been democratised (to an extent), and this has meant more experimental films from diverse cultural backgrounds. Online platforms and film festivals that centre around avant-garde cinema have also been crucial in bringing experimental works to wider audiences.
Standout experimental films
1. Un Chien Andalou (1929), directed by Luis Buñuel
We’ve mentioned this French silent film already, but it’s renowned for its shocking and surreal imagery, including the scene of a razor slicing through an eyeball. These images were inspired by the dreams of the two writers Buñuel and Dali, who we can only assume had been eating a lot of cheese before bedtime. The audience response to the film was surprisingly positive, which upset Dali a bit as he’d wanted to shock and upset them! Un Chien Andalou has since influenced countless filmmakers and artists with its bold and interesting...(!) approach.
2. Meshes of the Afternoon (1943), directed by Maya Deren and Alexandr Hackenschmied
Deren's short silent film was co-directed by her husband and has since been recognised for its historic and cultural significance by the Library of Congress. This is another film heavily influenced by surrealism and explores a woman’s psyche through symbolic imagery like a silhouette of a woman with a flower on a drive and a phone off the hook. The sequences repeat and the narrative becomes circular, making it hard to understand what is reality and what is a dream.
3. Dog Star Man (1961-1964), directed by Stan Brakhage
Dog Star Man is actually a series of four short films (plus a prelude, so five films in total) that were originally released in instalments but later were regularly shown as one long film, as intended. It’s a sort of abstract visual poem that uses hand-painted frames.
"Brakhage creates a myth of his own personal history from his birth, past relationship to his mother and father, and present relationship to his wife and son. His myth is seen in a cosmic context, earth sun and moon playing a part." — LUX
4. Scorpio Rising (1963), directed by Kenneth Anger
Scorpio Rising combines documentary footage with stylised sequences, exploring themes of rebellion, sexuality, and the occult. It was shot over three months in New York and split into four sections featuring imagery like Christian iconography and even Nazi imagery. Its use of music in particular made it a hit, and it’s since been considered to be the foundation for today’s music videos, particularly during the MTV era.
5. Eraserhead (1977), directed by David Lynch
Written by, directed by, and starring David Lynch, Eraserhead is a nightmarish journey into the subconscious, told in a non-linear way. It’s a low-budget, black-and-white film that didn’t really get much fanfare on release but later would become a cult classic.
6. Tropical Malady (2004), directed by Apichatpong Weerasethakul
Tropical Malady is a romantic psychological drama that blends realism with folklore, and explores love and identity in a non-linear narrative. It’s been described as a diptych as it’s essentially a work of two parts. The first half follows the relationship between a soldier (Keng) and a country boy, and the second shows Keng trying to track down a shaman who can turn into a wild beast.
7. La Jetée (1962), directed by Chris Marker
La Jetée is a short French science fiction film in black and white, set in the aftermath of a Third World War. It tells the story of a man who is sent back in time to find a solution for humanity’s survival after the Second World War. The film is made up almost entirely of still photographs, which emphasises the film’s core themes of memory and time.
8. Wavelength (1967), directed by Michael Snow
Wavelength consists of a continuous 45-minute slow zoom across a New York City apartment until it gets to a photograph of the sea stuck to a wall. It’s very minimalistic and has an emphasis on form, all of which make the duration a bit of a challenge to engage with but fit the film’s themes of the passage of time quite well! Events do happen during the slow zoom, just so you know.
9. Blue (1993) by Derek Jarman
Blue is a British avant-garde film that consists of a single static shot of a blue screen with a voice-over, sound effects, and music. In the VO, Jarman talks about his experiences with AIDS, his failing eyesight, and the impact of the disease on his life and work. The blue screen is a metaphor for the emotional and physical pain he’s going through at the time. Blue was the last feature film he released before his death, just four months later.
10. The Holy Mountain (1973) by Alejandro Jodorowsky
Another surreal film, The Holy Mountain involves Alejandro Jodorowsky exploring spirituality, mysticism, and transformation. A Christ-like figure joins a group of characters representing plants in the solar system, and they set off on a quest to reach the Holy Mountain for enlightenment.
Conclusion: Experimental or avant-garde cinema
It’s not always easy to enjoy or understand experimental films, and having added context about the influences or reasons behind the filmmakers’ choices can be really helpful for that. There’s no doubt, though, that over the last 100 and some years, experimental films have continually pushed the boundaries of what cinema can be, getting us to think beyond regular storytelling.
More free film theory articles
About this page
This page was written by Marie Gardiner. Marie is a writer, author, and photographer. It was edited by Andrew Blackman. Andrew is a freelance writer and editor, and is a copy editor for Envato Tuts+.
- Wed, 19 Jun 2024 14:45:17 +0000: How to organize motion graphics (MOGRTs) in Adobe Premiere Pro - Envato Tuts+ Tutorials
Motion graphic templates are called MOGRT files in Adobe apps. They’re common tools for Adobe After Effects. But picture this: you’re a Premiere Pro user, and you want to work with MOGRTs.
It's all possible in Premiere Pro. In this tutorial, you’ll learn how to organize motion graphics in Adobe Premiere Pro. Contrary to popular opinion, you don’t need After Effects to use MOGRTs! I’ll show you how to import MOGRTs into Premiere. Then, we’ll explore how to organize your new collection.
What are MOGRTs in Premiere Pro?
As mentioned, MOGRTs are motion graphics templates. These are the animated graphics commonly seen in popular videos. A MOGRT Premiere Pro may include lower thirds, transitions, text animations, and more. In essence, they are files that package visual motion effects. By editing a MOGRT, you can bring these effects to your next video.
Now, let’s learn how to import a MOGRT in Premiere Pro!
How to organize motion graphics in Premiere Pro (step by step)
Organizing MOGRT Premiere Pro files is easy. To show how to do it, let’s use a MOGRT template pack from Envato Elements. You can download it if you’d like to follow along with our tutorial.
1. Open the Essential Graphics panel
You’ll want to begin by choosing a template like the one above. Then, you’ll need to import MOGRT Premiere Pro files. Start by having your MOGRT template files downloaded.
Then, launch Premiere Pro on your computer. You’ll find yourself in the main Edit view. It’s one of three major panels in Premiere: Import, Edit, and Export. The Edit view is really where the magic happens. And it’s where you’ll go to import MOGRT files. Although it’s tempting to click Import, MOGRT files aren’t handled like normal media in Premiere Pro.
With the Edit tab selected, open the Essential Graphics panel. If it’s not in view by default, go to the Window dropdown. This is found at the very top of your Premiere Pro screen. Click Window, and from the list of options there, choose Essential Graphics.
2. Import MOGRT files
When you click Essential Graphics, you’ll see the panel appear. In Premiere Pro, it’s structured as a sidebar menu on the right side of your screen. Think of the Essential Graphics panel as the control center for MOGRT effects and templates in Premiere Pro. Again, it differs from the normal Import process that you’d use for audio or video.
On the Essential Graphics panel, you have two options. Either way, you need to be on the Browse tab on the Essential Graphics panel. Then, click on the My Templates tab. The My Templates group controls any MOGRT templates that you’ve imported into Premiere.
To import, click on the + icon next to Local Templates. A file browser will launch. Browse to the downloaded MOGRT files on your computer, click on them, and press Choose. The MOGRT files will be imported into Premiere!
The second, easier way to add templates is to drag and drop them into the open space on the bottom half of the Essential Graphics panel. In a flash, they’ll be imported! This saves you the step of opening a file browser.
Ready to use your MOGRT templates? Easy! Drag them onto your Timeline at the bottom of Premiere Pro. You’ll see them appear. The Essential Graphics panel, on the Edit tab, controls the effects you can edit.
3. Create a new library
Now that you’ve imported a MOGRT template, you’re ready to go. But what if you have many of your own MOGRTs? How do you stay organized?
My favorite method is to group MOGRT files into libraries in Premiere Pro. Libraries are smart collections that help you store and organize media in Premiere Pro. This includes MOGRTs.
To create your own MOGRT library, open the Libraries panel. You can find it by going to Window > Libraries. It will open on the left side of Premiere Pro.
On the Libraries panel, click Create new library. Give it a name, and then click Create. You have your first Premiere Pro library, ready to help your MOGRTs stay organized!
4. Add MOGRT templates to the library
Finally, you’ll need to add MOGRT templates to the library that you created. Return once again to the Essential Graphics panel. Right-click on a MOGRT template thumbnail.
From the list of options, hover over Copy to Library. In this menu, you’ll see the name of your new library listed. To add your MOGRT to this library, click on the name. Now, you have a fully indexed and accessible MOGRT collection underway!
Libraries are viewable on the Libraries tab. You can also find them in the Libraries group on the Essential Graphics panel. It’s an easy way to group and classify MOGRT templates however you want.
Learn more top Premiere Pro tips & tricks
A MOGRT Premiere Pro template helps you create amazing motion graphics and effects. But it’s just one of countless editing tools that you can use in Premiere Pro. Below are some top tutorials from the Envato Tuts+ library. They’re here to help you upgrade your Premiere Pro skills in moments!
Add and organize MOGRTs in Premiere Pro today
In this tutorial, you learned how to use MOGRT Premiere Pro templates. By importing them on the Essential Graphics panel, you can start using them quickly. And with Libraries, you can organize your MOGRT collection in Premiere Pro.
Motion graphics open up a new world of editing possibilities, and they’re amazingly easy to add and organize in Adobe Premiere Pro with these steps.
- Sun, 12 May 2024 00:12:14 +0000: How to quickly apply blur effects to videos in CapCut - Envato Tuts+ Tutorials
In this quick tutorial, you’ll learn how to blur a video in CapCut. It’s a quick, easy edit that unlocks a new world of style. And you can use this stunning CapCut blur effect with every single project that you find yourself working with.
Let’s get started!
Why use CapCut blur effects?
Knowing how to blur video in CapCut is a valuable skill. Thanks to how easy it is, you’ll find yourself using blur effects every single day. But why are they useful? Why would you want to add a CapCut blur effect to your video?
Consider this:
- You can reduce distractions. By blurring some or all of a video, you can eliminate any element that you don’t want an audience to see.
- You’ll draw focus to the subject of your video. Blur part of a video, and viewers naturally look at what’s in focus. Blurs are a powerful way to control where the eyes of your audience go from moment to moment.
- Blurs help you transition from scene to scene. Trying to add a powerful segue from video to video? By adding a blur, you can dissolve one scene and introduce another.
- It stands out in the feed. Creative use of blur effects in CapCut helps your videos stand out. It’s all too easy to focus on keeping things razor sharp at all times. Think outside the box and add CapCut blurs to stay imaginative.
How to blur video in CapCut (step-by-step guide)
Let’s learn how to blur videos in CapCut, step by step. For this demo, we’ll work in the CapCut iOS mobile app. It’s available for free from Apple’s App Store. CapCut works on other platforms too, like Android and even your PC. Blur features are available in all of them.
As you learn how to add blur in CapCut, you’ll see stock footage from Envato Elements in use. Want to follow along with the tutorial? Download the video.
1. Choose a video to blur in CapCut
To start learning how to blur videos in CapCut, launch the CapCut app. When you do, you’ll see four menu tabs across the bottom of your screen. They’re labeled Edit, Templates, Inbox, and Me. To begin, make sure that you’re working on Edit by tapping on it with your finger.
When you’re on the Edit menu, you have two options. If you have an existing project that you want to add blur effects to, choose it from the Projects gallery. Otherwise, if you want to start from scratch, click New project. It’s in the blue box in the upper center of your screen.
When you choose New project, CapCut will open your video library. Select a video by tapping on it. Then, in the lower right corner of your screen, press Add. When you do, you’ll see your chosen video open in Edit mode.
You’re ready to learn how to blur video in CapCut!
2. Open the CapCut video effects
When you’re working in Edit mode, you’ll see your video clip previewed front and center. Then, below, you’ll see the Timeline. This is how you can choose what frame of the video that you’re viewing and editing. And at the bottom, you’ll see a collection of menu buttons and options.
To see how to blur in CapCut, you’ll want to find the Effects menu. In CapCut, blur designs are treated as visual effects. This is a broad category spanning countless edits. All blur options in CapCut are grouped under Effects.
On the toolbar menu at the bottom of CapCut, find the Effects button. It’s easy to see, thanks to a star icon right above it. Click Effects, and watch the menu transform. You’ll see new buttons at the bottom. These are labeled Video effects, Body effects, Photo effects, and AI effects.
To see how to blur video in CapCut, tap on the Video effects option. This is where you’ll find each and every video blur option in CapCut.
3. Choose and apply a CapCut blur effect
When you choose CapCut Video effects, you’ll see an effect gallery open. This panel features countless visual effects that you can add to any video. By default, you’ll find yourself on the Trending tab. Scrolling to the right, you can explore other categories.
Want a shortcut to find the best blur effects in CapCut? Click into the Search box at the top of the Effects gallery. Then, type in “blur” and search. When you do, you’ll see all of the available CapCut blur effects grouped together. These begin with Halo Blur, Blur, and more. It’s a fast way to see your options.
Each thumbnail provides a quick preview of the effect and how it changes the look and feel of your video. To add a blur effect, simply tap on the thumbnail of your chosen effect. Here, let’s demo with Halo Blur.
Your video will transform instantly! You can see it previewed on the upper half of your screen. And with a blur effect added, you’re ready to share your video with the world. It’s a cool way to introduce a new and creative aesthetic to any footage.
Add blur effects in CapCut today
Today, you learned how to blur video in CapCut. As you can see, it’s a fast and straightforward edit. You can add blur effects to any project in just a few seconds.
Imagine the creative options this unlocks. Then, get to work right inside your free CapCut app. It’s a breeze to blur videos, with only a handful of short steps. Try it today!
- Wed, 11 Sep 2024 19:20:14 +0000: 10 Best Cyber Security Tools for Small Businesses to Boost Protection - SmashingApps.com
Now loading...In today’s interconnected world, having the best cyber security tools is no longer an […] - Mon, 09 Sep 2024 18:25:42 +0000: Why Snagit Is the Must-Have Screen Capturing Tool With Effortless Editing – A Game-Changer for Professionals - SmashingApps.com
Now loading...Are you looking for a tool that can do more than just take screenshots? […] - Mon, 02 Sep 2024 19:02:51 +0000: The Ultimate Guide to the Best Seat Cushion for Office Chair - SmashingApps.com
Now loading...We sit a lot, especially at work. If you are like me and work […] - Sun, 01 Sep 2024 22:14:55 +0000: How to Easily Reset Your Amazon Kindle, Either Hard or Soft (Step by Step) - SmashingApps.com
Looking to restart or reset your Amazon Kindle? It is so easy to follow along, and I will take you through each step. - Fri, 30 Aug 2024 21:01:04 +0000: How to Choose the Best PC Tune-Up Software for Your Needs - SmashingApps.com
Now loading...Have you ever been stuck staring at a computer that just won’t cooperate? PC […]