[Chameleon] raster image showing up with 256 colors

Julien-Samuel Lacroix jlacroix at mapgears.com
Thu Mar 16 09:02:36 EST 2006


Hi,
I'm not sure, so others may have a better knowledges of this, but the 
JPEG can have less quality and may not support transparency.

Julien

Yahya Mohammad wrote:
> Thanks very much for the reply.
> I had just fixed it by changing the image_type to JPEG, I didn't know about 
> PNG24 but it works as well. Which format is better (performance wise) for use 
> in map applications?
> Yahya 
> 
> 
>>Hi,
>>In chameleon.xml, there's a parameter called image_type. That contains
>>the type of the image. For 24-bit rendering you can use the PNG24 type.
>>
>>Julien
>>
>>Yahya Mohammad wrote:
>>
>>>Hi list,
>>>I added a tiled raster layer (tiff format) to my map file, but it shows
>>>up with only 256 colors. I tried to display it using the mapserv cgi-bin
>>>binary and the layer showed up ok in 24 bit color. Is there a setting
>>>somewhere in chameleon to control the color depth? I looked in
>>>chameleon.xml but couldnt' find anything.
>>>Thanks
>>>Yahya
>>>_______________________________________________
>>>Chameleon mailing list
>>>Chameleon at lists.maptools.org
>>>http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list