[Chameleon] raster image showing up with 256 colors

Eijnden, B. van den (Bart) b.vdeijnden at agi.rws.minvenw.nl
Thu Mar 16 09:14:13 EST 2006


Performance-wise JPEG is better, since it takes less bandwidth than 24-bits
PNG (many Kb's!).

But indeed quality of JPEG can sometimes be insufficient.

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org]Namens Julien-Samuel
Lacroix
Verzonden: donderdag 16 maart 2006 15:03
Aan: Yahya Mohammad
CC: Chameleon Users
Onderwerp: Re: [Chameleon] raster image showing up with 256 colors


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/
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the Chameleon mailing list