Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » saving a paletted PNG
Re: saving a paletted PNG [message #6070 is a reply to message #6067] Sun, 29 October 2006 20:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14256
Registered: November 2005
Ultimate Member
PixelArray is now obsolete, sorry. I recommend downloading the dev version of U++, raster Image handling is vastly refactored.

In the new version, PNGEncoder has Bpp method (bits per pixel). Put there 8 to have 256 colors palette. If you have existing palette you want to retain, use SetPalette.

Mirek
 
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: Thu May 01 14:11:40 CEST 2025

Total time taken to generate the page: 0.02799 seconds