when resizing a 8 bit png image file with alpha channel with most arithmetic (except nearest neighbour and bilinear), the image is converted to an 24 bit true colour picture and the alpha channel is lost
btw, is there any way to convert a 8 bit png image to 32 bit(keeping alpha channel) in batch processing?
alpha channel lost when resizing 8bit png
Moderators: helmut, XnTriq, xnview
Re: alpha channel lost when resizing 8bit png
Yes, the first two: nearest and bilinear work fine.
But more advanced ones, like Lancsos, lose alpha channel.
Here's some examples:
http://www.google.com/logos/2011/verne-hp.png
http://www.google.com/logos/2011/bunsen11-hp-sprite.png
But more advanced ones, like Lancsos, lose alpha channel.
Here's some examples:
http://www.google.com/logos/2011/verne-hp.png
http://www.google.com/logos/2011/bunsen11-hp-sprite.png
Re: alpha channel lost when resizing 8bit png
Oh ok, for such picture, you must convert them in 32bits before. Other method than nearest & bilinear build always a 24bits image
Pierre.
Re: alpha channel lost when resizing 8bit png
so is there anyway to convert them in 32bits in batch processing tool? i can only find an "add alpha channel" method but it only replace alpha channel
Re: alpha channel lost when resizing 8bit png
I'll add it in XnView. You have it in XnConvertadamhj wrote:so is there anyway to convert them in 32bits in batch processing tool? i can only find an "add alpha channel" method but it only replace alpha channel
Pierre.