Reputation: 1591
I'm trying to mark pixels as transparent when encoding rgb data to 8-bit png image (palette) using libpng. If I create a separate alpha channel in this case, the alpha channel is getting ignored. Is there a way to set the pixels as opaque or transparent when using 8-bit color palette ?
Thanks
Upvotes: 1
Views: 711