Can I fill the transparent background of a *png with background colour and save the image as a *webp without first having to go through other image formats (for example, converting to *jpg and then converting back to *webp ?
Is there a quick and direct way to do this?
Background-problem with transparent PNGs
Moderator: xnview
-
jamesgarcia
- Posts: 1
- Joined: Thu Feb 26, 2026 9:53 am
Re: Background-problem with transparent PNGs
Yes, In XnView MP you can do it directly—no need to convert to JPG first.
1. Open the PNG.
2. Go to Image → Alpha channel → Remove alpha channel.
3. When prompted, choose the background color you want (this fills the transparent areas).
4. Then File → Save As… and choose WebP.
1. Open the PNG.
2. Go to Image → Alpha channel → Remove alpha channel.
3. When prompted, choose the background color you want (this fills the transparent areas).
4. Then File → Save As… and choose WebP.