Page 1 of 1

Resize does not preserve the alpha channel of PNG images

Posted: Mon Feb 21, 2011 11:15 am
by cermini
1. Resize does not preserve the alpha channel of 32bit PNG images (in a PNG-to-PNG conversion) and does not inform for the loss of it.
2. The status bar ignores the alpha channel of 32bit PNG images - it does not indicate in any way the existence of alpha channel in the selected image.

Re: Resize does not preserve the alpha channel of PNG images

Posted: Tue Feb 22, 2011 4:17 pm
by xnview
cermini wrote:1. Resize does not preserve the alpha channel of 32bit PNG images (in a PNG-to-PNG conversion) and does not inform for the loss of it.
2. The status bar ignores the alpha channel of 32bit PNG images - it does not indicate in any way the existence of alpha channel in the selected image.
I can't reproduce, "Option/Read/PNG/Compose ...." is checked??

Re: Resize does not preserve the alpha channel of PNG images

Posted: Wed Feb 23, 2011 6:34 pm
by cermini
Thanks for pointing this.

Tools -> Options -> General -> Read/Write -> Read -> PNG -> Compose image with alpha (32bits) was checked. By default this option is not checked in XnView v1.97.8. It appears that XnView used settings from previous installation.
If that's the case it is possible that it used a setting, which I made so long ago that I don't remember it at all.

Re: Resize does not preserve the alpha channel of PNG images

Posted: Wed Jun 22, 2011 4:44 am
by MasterHD
I'm having the same problem resizing PNG's. The alpha layer just turns black for any resample type other than "bilinear" or "nearest neighbor" (and those produce pixelated images that don't look good).
I tried enabling/disabling the "Option/Read/PNG/Compose ...." in every combination. I can't even perform a color depth "transformation" and retain the alpha layer. Am I doing something wrong? I've tried this with xnConvert as well with no luck.

Thanks for any help.

Re: Resize does not preserve the alpha channel of PNG images

Posted: Wed Jun 22, 2011 9:09 am
by xnview
Is it a 32bits PNG?

Re: Resize does not preserve the alpha channel of PNG images

Posted: Sun Dec 11, 2011 12:17 am
by MasterHD
The color is 8-bit depth, and all 4 channels (RGBA) are active. But I have since moved on because I didn't realize there was a response here :(
Have you been able to reproduce this problem?

Re: Resize does not preserve the alpha channel of PNG images

Posted: Mon Dec 12, 2011 9:18 am
by xnview
MasterHD wrote:The color is 8-bit depth, and all 4 channels (RGBA) are active. But I have since moved on because I didn't realize there was a response here :(
Have you been able to reproduce this problem?
No, please send me a picture file?