Three methods to batch adjust PNG, WebP picture transparency! Make design work more efficient


TranslationEnglishFrançaisDeutschEspañol日本語한국어Update Time2025-11-26 17:47:23xuco


When we adjust the transparency of PNG and WebP pictures, it is usually used in the scene of realizing watermark effect, creating layer or making gradient background, especially in graphic design and web page development. Usually we are single manual processing, efficiency not only wastes a lot of time to set the transparency of each picture, more importantly, after the adjustment is completed, the transparency of each picture is difficult to maintain 100 of the same and consistent, the progress of the work efficiency will be very slow. Then we encounter hundreds of webP and PNG pictures that need to be turned into translucent state, and repeated labor consumes a lot of our precious time.

This article will focus on the three methods, to provide you with efficient processing skills, to achieve PNG, WebP quickly realize the unity of all pictures, greatly enhance our work efficiency, to avoid wasting the remaining time.

What happens to set transparency in PNG format images for your own use?

Making PPT and poster pictures

some PNG put into PPT and publicity maps will obviously feel abrupt, logo is too bright, decorative elements cover the theme, background picture and text color font conflict. At this time, we can adjust the transparency of the PNG picture and the softness of the picture, which can weaken the picture a little, which will not affect our reading of the formal content or overshadow the theme.

Avoid watermarking documents and stamping documents

when adding watermark signature or stamp to a picture, adding PNG picture is not transparent, which can easily cause the text in the picture to be blocked and the content written in the text cannot be seen clearly. We can adjust PNG to any degree of transparency and display its text, which can protect the copyright of the file without affecting the overall viewing experience of users.

Insert web page and APP interface

when WebP is inserted into a web page or APP interface, some image files such as icons, buttons and backgrounds will reduce transparency in the original image. If the transparency is too high, users will mistake some buttons for functions that must be clicked. When the transparency is reduced, the interface level can be made clearer and the vision is more comfortable.

Preview the effect of batch adjusting the transparency of a large number of pictures

before treatment:

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

after treatment:

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

method 1: Use HeSoft Doc Batch Tool Set PNG Transparency in Unity

recommended Index:★★★★★

Advantages:

  • it can adjust thousands or tens of thousands of pictures at one time, and the processing speed is very fast. At the same time, it also supports format conversion and picture splitting between various pictures.
  • All images are processed locally and do not involve the nature of the uploaded images, ensuring the privacy and security of each user.

Disadvantages:

  • can only install software for PC operation.

Operation steps:

1. Open 【 HeSoft Doc Batch Tool ], select [Picture Tools]-[Picture Effect Enhancement]].

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

2. Select a method in [Add File] or [Import File from Folder] to add pictures that need to be adjusted in transparency. It also supports dragging pictures to import below, and then click Next.

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

3. Enter the setting options page, open the [Opaque] button, then drag the small round button below to customize the transparent strength, and then click Next again. Then click Browse to select the location to save the processed picture.

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

4. After waiting for the processing to be completed, click the red path and open the folder to view the PNG picture with transparent settings.

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

Method 2: Set the transparency of PNG images with the help of PowerPoint slides

recommended Index:★★★☆ ☆

advantages:

  • there is no need to install new software, and ordinary workers can be familiar with the operation.
  • The ability to precisely adjust the percentage of control transparency.

Disadvantages:

  • it needs to be saved manually as a picture and cannot be exported automatically.
  • When there are many pictures to be adjusted to transparent, the operation needs to be repeated, which takes a long time.

Operation steps:

1. Open the PowerPoint file and insert all the pictures that need to be adjusted for transparency.

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

2. Left-click to select the picture, and then adjust the transparency on it.

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

3. Finally, right-click to save the picture.

Method 3: Use Python and PIL libraries to batch adjust image transparency

recommended Index:★★☆ ☆ ☆

advantages:

  • fully automated and can be applied in the workflow.
  • Processing speed is very fast, a large number of pictures can be completed quickly.

Disadvantages:

  • need to have the basis of programming, novice is not recommended, learning costs are higher.
  • The computer also needs to have Python installed before it can be used.

Operation steps:

1. Install the PIL library:

image-Picture batch setting transparency,picture transparency effect batch processing tool,batch adjustment PNG,WebP picture transparency

2. Create the Python script adjust_transparency.py:

from PIL import Image
import OS
input_folder="./input" # Input image folder
output_folder="./output" # Output folder
Transparency=0.5 # Transparency, between 0-1, 0 is completely transparent
if not OS .path.exists(output_folder):
OS .makedirs(output_folder)
for filename in OS .listdir(input_folder):
if filename.lower().endswith(('.png', '.jpg', '.jpeg')):
img = Image.open( OS .path.join(input_folder, filename))
        
#Ensure that the image supports transparency channels
if img.mode! = 'RGBA ':
img = img.convert('RGBA')
        
#Create new transparency data
alpha = img.split()[3]
alpha = alpha.point(lambda p: p * transparency)
        
img.putalpha(alpha)
img.save( OS .path.join(output_folder, filename))
Print (f "Processed: {filename}")
Print ("Batch transparency adjustment completed! ")

3. Finally, modify the folder path and transparency values, and then run the script.


KeywordPicture batch setting transparency , picture transparency effect batch processing tool , batch adjustment PNG , WebP picture transparency
Creation Time2025-11-26 09:55:08xuru

Disclaimer: The text, images, videos, etc., on this website are limited to the software version and operating environment used when creating this content. If subsequent product updates cause your operations to differ from the content on the website, please refer to the actual situation!

Related Articles

Don't see the feature you want?

Provide us with your feedback, and after evaluation, we will implement it for free!