Image Opacity Tool
Adjust image transparency and export as PNG
Image Opacity Tool — what it does
Set an image's overall transparency and export it as a PNG that carries the alpha channel. Semi-transparent images are how you build watermark layers, faded backgrounds and overlays that let text stay readable over a picture without editing the picture itself.
Worked example
A 1600 × 1200 image exported at 30 % opacity, then the same file re-run at 0 %; the middle row is derived from the code for the default setting.
| Input | Opacity | Output |
|---|---|---|
| photo-1600x1200.png (1600 × 1200) | 30 % | photo-1600x1200-opacity.png, 1600 × 1200; every pixel has alpha 77 of 255 |
| logo-400x400.png (400 × 400) | 60 % (default) | logo-400x400-opacity.png, 400 × 400; alpha 153 of 255 |
| photo-1600x1200.png (1600 × 1200) | 0 % | photo-1600x1200-opacity.png, 1600 × 1200; fully transparent, every pixel alpha 0 |
The slider value is used as the canvas global alpha, so alpha = value / 100 × 255, rounded; 0 % therefore produces a PNG that is invisible but still the full size.
When this tool helps
- Creating a faded background image so headline text stays readable over it.
- Preparing a semi-transparent logo to overlay on photos or video frames.
- Making a ghosted reference layer for tracing or alignment work.
How to use it
- Choose the image.
- Set the opacity level.
- Check the preview.
- Process and download the PNG.
Accuracy, limits, and good practice
- Export must be PNG — JPEG has no alpha channel and will flatten the transparency against white.
- Around 15 to 30 percent opacity is the usual range for a background image sitting behind body text.
- Transparency depends on what it sits over: check the result on the actual destination background, not against the editor's white page.
- Test the exported PNG on the actual background it will sit on; opacity that looks subtle on white can disappear entirely on a pale page.
Frequently asked questions
Why does my image look solid again?
It was probably saved or converted to JPEG somewhere downstream, which discards alpha and composites onto white.
Can I make only part of the image transparent?
This sets uniform opacity. For a specific colour, the colour replacer or an editor's selection tools are the right approach.
Do all browsers support PNG transparency?
Yes, universally. Transparent PNG is safe everywhere on the modern web.
Can I use a semi-transparent PNG in a PDF?
Yes, the image stamp tool accepts one, and reducing opacity at export gives you finer control than the stamp setting alone.
What does 0 % actually produce?
A PNG of the original size whose pixels all have alpha 0 — a completely transparent image, useful only as a placeholder. Values are clamped to 0–100, so anything typed outside that range becomes 0 or 100, and a blank value is treated as 100.
What happens to pixels that are already partly transparent?
Their existing alpha is multiplied by the new opacity: a pixel at 50 % in the source exported at 60 % ends up at 30 %. Fully transparent pixels stay fully transparent.
Related tools on this site
- Rotate & Flip Image — Rotate images and flip them horizontally or vertically
- Batch Image Format Converter — Convert multiple images to JPG, PNG, or WebP in a ZIP file
- Image Collage Maker — Arrange multiple images into a downloadable grid
Further reading: Getting images ready for the web, email and social media
Everything above runs inside this page. Image Opacity Tool needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
圖片透明度調整能做什麼
設定圖片的整體透明度,並輸出帶有 alpha 通道的 PNG。半透明圖片正是製作浮水印圖層、淡化背景與覆蓋層的方式,讓文字壓在圖片上仍然清楚,而不必動到圖片本身。
實際範例
把 1600 × 1200 的圖以 30 % 不透明度匯成 PNG,再以 0 % 重跑同一個檔案;中間那列是依程式碼推算預設值的情形。
| 來源圖片 | 不透明度 | 下載檔案 |
|---|---|---|
| photo-1600x1200.png(1600 × 1200) | 30 % | photo-1600x1200-opacity.png,1600 × 1200;每個像素 alpha 為 77 / 255 |
| logo-400x400.png(400 × 400) | 60 %(預設值) | logo-400x400-opacity.png,400 × 400;alpha 為 153 / 255 |
| photo-1600x1200.png(1600 × 1200) | 0 % | photo-1600x1200-opacity.png,1600 × 1200;完全透明,每個像素 alpha 為 0 |
滑桿的值直接當成 canvas 的全域 alpha,所以 alpha = 值 ÷ 100 × 255 四捨五入;0 % 因此會得到一張看不見、但尺寸仍完整的 PNG。
什麼時候用得上
- 製作淡化的背景圖,讓標題文字壓在上面依然好讀。
- 準備半透明商標,疊在照片或影片畫面上。
- 做出淡淡的參考圖層,用於描圖或對位。
使用步驟
- 選擇圖片。
- 設定透明度。
- 檢視預覽。
- 執行處理並下載 PNG。
精確度、限制與實務建議
- 必須輸出 PNG——JPEG 沒有 alpha 通道,會把透明度壓平成白底。
- 襯在內文後方的背景圖,透明度通常落在 15% 至 30% 之間。
- 透明的效果取決於底下是什麼:請在實際的目的背景上檢查,而不是編輯器的白底。
- 請在實際要放的背景上測試匯出的 PNG;在白底上看起來低調的透明度,在淺色頁面上可能整個消失。
常見問題
為什麼圖片又變成不透明了?
多半是在後續流程中被存成或轉成 JPEG,alpha 被捨棄並合成到白底上。
可以只讓部分區域透明嗎?
此工具設定的是整體透明度。針對特定顏色請用顏色替換工具,或用編輯器的選取工具處理。
所有瀏覽器都支援 PNG 透明嗎?
都支援。透明 PNG 在現代網頁上到處都安全可用。
半透明 PNG 可以用在 PDF 裡嗎?
可以,圖片印章工具接受它;匯出時先降透明度,能比單靠印章設定得到更細緻的控制。
0 % 到底會產生什麼?
一張與原圖同尺寸、所有像素 alpha 都是 0 的 PNG——完全透明的圖,只適合當佔位圖。數值會被限制在 0 到 100 之間,超過範圍的值會變成 0 或 100,留空則視為 100。
原本就半透明的像素會怎樣?
原有的 alpha 會乘上新的不透明度:來源中 50 % 的像素以 60 % 匯成檔案後會變成 30 %。完全透明的像素仍然完全透明。
本站相關工具
延伸閱讀: 為網頁、電子郵件與社群媒體準備圖片
以上步驟全部在這個頁面內完成,圖片透明度調整 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。