[Mapserver-dev] 24-bit backdrops?

Frank Warmerdam warmerdam at pobox.com
Wed Aug 27 09:20:58 EDT 2003


Chris G. Nicholas wrote:
> Is Mapserver 4.0 still fundamentally an 8-bit beast, particularly with respect to imagery?

Chris,

Mapserver now has well integegrated 24bit input and output support.

When using the GD renderer you declare (via an OUTPUTFORMAT directive or
a predefined imagetype) whether you are operating in 256 color mode (IMAGEMODE
PC256) or 24/32bit mode (IMAGEMODE RGB or RGBA).  In PC256 mode things work
much as they did in 3.6, with a 256 color palette, and 24bit imagery converted
to palette colors on the fly (though more options for technique are now
available).  In RGB or RGBA mode all works is done with full RGB colors
so you could have more than 256 vector colors, and/or use full 24bit or
32bit imagery.

I did the work on imagery support under contract to i-Cubed, and Steve Lime
did the work on rewriting the all the vector color handling.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the mapserver-dev mailing list