Open GoogleCodeExporter opened 8 years ago
Hmm... that's strange, I think this used to work at some point. Can you try
with the
PNG_TRANSFORM_SWAP_ALPHA or without the PNG_TRANSFORM_RGB flag?
Original comment by cast...@gmail.com
on 3 Jun 2010 at 11:37
I tried various combinations, but all I can manage is to have correct output
when
color_type is PNG_COLOR_TYPE_RGBA, otherwise it won't work, I find alpha channel
values used as a color.
Without PNG_TRANSFORM_RGB, the images get blueish instead of redish, but the
PNG_TRANSFORM_SWAP_ALPHA seems to have no effect for RGB output. It has an
impact on
RGBA output though (breaks it).
Also tried with PNG_TRANSFORM_STRIP_ALPHA without much success.
Original comment by nicolas....@gtempaccount.com
on 4 Jun 2010 at 9:23
Maybe I only tested the RGBA color type. I'll take a look this weekend.
Original comment by cast...@gmail.com
on 4 Jun 2010 at 5:29
Original comment by cast...@gmail.com
on 4 Jun 2010 at 5:30
Original issue reported on code.google.com by
nicolas....@gtempaccount.com
on 3 Jun 2010 at 9:53Attachments: