I need to create paletted PNG files with transparency. <br><br>I understand that I need to pass in a colour table with the alpha channel set to 0. <br><br>As I cannot create PNGs directly, I first create a Tiff with the colourtable and then do a CreateCopy.
<br><br>But when I then look at the PNG colour table, the transparency values are gone (all set to 255). This is also true for the intermediate Tiff file -- which is understandable as single band tiffs don&#39;t do transparency. I think when creating the tiff the colourtable is adjusted so that it works for the Tiff, but then my transparencies are lost. (If someone thinks this is a bug, I will turn my code into a short example).
<br><br>I tried to alter the colour table after creating the tiff (or the createCopy of the PNG), but this is not supported.<br><br>What&#39;s the best way to do this -- maybe I just need a better intermediate format that does transparencies and can be created (which one?)
<br><br>Any hints?<br><br>Regards<br><br>Ludwig<br><br>