Page 1 of 1

How to convert <=8bit to 32bit with transparency

Posted: Fri Oct 14, 2016 6:37 pm
by ClausWARE
How can I convert PNGs with <= 8 bits and transparent color to 32 bit PNGs with aplha transparency by batch processing?

In my attempts, XnView can only convert to 24bit and XnViewMP loses the transparency despite 32 bits. :(

Specifying the pallet index for the aplha transparency is not really useful because the index is different for each image, which should be taken over automatically.

Have I overlooked anything?

Re: How to convert <=8bit to 32bit with transparency

Posted: Sat Oct 15, 2016 4:00 am
by XnTriq
Welcome to the forum, ClausWARE.

It seems that 8-bit PNGs with index transparency can only be converted manually to 32-bit PNGs with alpha channel transparency.
With the exception of Add alpha, there's no command for increasing the color depth to 32-bit in XnView Classic's batch processing. The same goes for XnViewMP's and XnConvert's Change color depth action: If set to 32 bits, existing single color transparency is lost and replaced by a uniform alpha channel.

PNG test suites: