Customer login  |   Contact us
Home Company Products Support Purchase
Forum Home » ObjectPlanet Developer forum

Topic: PngEncoder and indexed png with alpha
Replies: 1   Pages: 1   Last Post: Nov 9, 2008 1:09 PM by: geetsce


Back to Topic List Back to Topic List
Replies: 1   Pages: 1  
peez

Posts: 1
Registered: Nov 5, 2008
PngEncoder and indexed png with alpha
Posted: Nov 5, 2008 12:28 PM
  Reply

I'm writing some text on a transparent background.
When outputting this text with COLOR_TRUECOLOR_ALPHA, everything works perfectly with dithering transparency.
But when I try to output as COLOR_INDEXED_ALPHA, it looks horrible.
It looks like there is no alpha information in the image.

Is there a trick to achieve this?

geetsce

Posts: 2
Registered: Nov 9, 2008
Re: PngEncoder and indexed png with alpha
Posted: Nov 9, 2008 1:09 PM
  Reply

You shouldn't wory about this as COLOR_INDEXED_ALPHA is not a legal PNG colour type anyway. I wonder why though, even GIF has it.



© 1998-2017 ObjectPlanet, Inc. Øvre Slottsgate 5, 0157 Oslo, Norway Tel (+47) 2233 3360 | Fax (+47) 2233 3361