Setting transparent images background in IrfanView

194.7k Views Asked by At

I have some PNG images which consist of a black shape and a transparent background. Unfortunately, IrfanView shows transparent background as black color, so I see just black on black. I've found in Irfan settings that I can change the window's background color, but it changes only around the image, the transparent color is still black.

Is there any way to change the color displayed as transparent, or, optimally, use white-grey squares like Photoshop?

3

There are 3 best solutions below

11
On BEST ANSWER

You were on the right track. IrfanView sets the background for transparency the same as the viewing color around the image.

You just need to re-open the image with IrfanView after changing the view color to white.

To change the viewing color in Irfanview go to:

Options > Properties/Settings > Viewing > Main window color
2
On

If you are using the batch conversion, in the window click "options" in the "Batch conversion settings-output format" and tick the two boxes "save transparent color" (one under "PNG" and the other under "ICO").

0
On

Advanced > Canvas Size 'Settings' > canvas color: 'OK'

I've read all of these and eventually figured out my resolution.

The images have worked for me on this occasion and saved me several hours.