amik
amik

Reputation: 5909

Setting transparent images background in IrfanView

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?

Upvotes: 152

Views: 208245

Answers (3)

Dmytro Vyprichenko
Dmytro Vyprichenko

Reputation: 4924

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 (Shift+R) 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

Upvotes: 177

Joseph McLean
Joseph McLean

Reputation: 11

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.

Upvotes: 1

Annalisa
Annalisa

Reputation: 87

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").

Upvotes: 8

Related Questions