如何生成透明背景的 PNG
- 選擇
- 變透明
- 儲存
When you want to overlay a logo or icon on a coloured background or photo, a leftover white box stands out. Choosing "Transparent" for "Background" in Convert SVG to PNG and saving gives a PNG with only the figure remaining.
步驟
- With "Choose one SVG file", choose the SVG.
- Under "Background", choose "Transparent".
- Decide the "Size".
- Press "Make PNG and save".
- Check the "Preview" and save with "Save PNG".
Uses of a transparent PNG
- Placing a logo over a coloured slide background
- Overlaying an icon or text on a photo
- Using it in website or social media images
- Putting a logo in a document header
How the preview looks
Transparent parts appear in the preview as a checkerboard or as the screen's background colour. Placed on another background, that background shows through.
When the background doesn't become transparent
- The SVG contains a rectangle for the background
- Delete the background shape in SVG editing software and then convert
Where transparency isn't supported
- JPG doesn't support transparency (it becomes white or black)
- Some old software doesn't display PNG transparency correctly
- In print, transparent parts take the colour of the paper
Caution: dark backgrounds
If text and shapes are black, they are hard to see on dark backgrounds. Prepare a logo in a colour that suits the background.
示例
Wanted to put a white-text logo on a slide with a blue background. Saved with a transparent background. It overlaid neatly on the blue.
Common stumbling blocks
- A white box remains though transparent: the SVG contains a background shape.
- The saved image looks white: the image viewer's background is white. Check by placing it on another background.
- Edges look jagged: save at a higher scale.
Frequently asked questions
Can I turn transparent parts white later?
You can in image editing software, but converting again is easier.
小結
Save with "Background" set to "Transparent". Watch for background shapes inside the SVG.
使用「把 SVG 轉換成 PNG」(免費)搭配使用的工具
- 轉換圖片格式(JPG、PNG、WebP):把圖片轉換為 JPG、PNG 或 WebP,可一次轉換多張。
- 按畫素調整圖片大小:按寬度、高度或百分比調整圖片大小。
- 製作網站圖示(Favicon):用一張圖片製作一整套網站圖示。