U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » saving a paletted PNG
saving a paletted PNG [message #6067] Sun, 29 October 2006 20:42 Go to previous message
lindquist is currently offline  lindquist
Messages: 33
Registered: March 2006
Location: Denmark
Member
Hi folks.
I have a problem with saving a paletted png image. From looking in plugin/png it seems that it is actually handling paletted images, but I always end up with a 24bit png. The problem seems to be PixelArrayToImage which converts my PixelArray (8bpp) to a Image.

I have tried without success to create a Draw that will maintain the paletted format.

Can anyone help me out here, I'm not sure if the support is there or if I need to do some hacking.

Any clues/pointers would be very much appreciated.
I need the exported png to be paletted!

Thanx, Tomas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: StreamRaster::LoadAnyFile -- not exist in distribution?
Next Topic: Draw Objects with Wallpapers, ...
Goto Forum:
  


Current Time: Tue Apr 28 19:04:58 GMT+2 2026

Total time taken to generate the page: 0.00892 seconds