[Chameleon] Problems with output JPEG in Chameleon (with attached image)

Paul Spencer pagameba at magma.ca
Tue Oct 5 17:40:38 EDT 2004


this is a known issue with mapserver, use output type png24 in 
chameleon.xml file.

Cheers,

Paul
joanvp wrote:
> Hi,
> 
> Sorry...It's my fault!
> 
> well, in few lines my problem is:
> I want to display a photo with tif format and I just
> can see a few colors (see image.bmp attached). At the
> begining I saw the problem: my output imagetype was
> png!!. But I changed to jpeg and the problem continued
> (map file below). Now I 've tried to save the image
> with right mouse button and my output image is .bmp!!!
> I cant understand it...
> On the other hand, legend icon images are in jpeg. I
> just wanna see my orthophotos.
> Any solution? 
> 
> I'm working with Chameleon 1.9 and sample_enhaced
> changed
> 
> 
> 
> --- Paul Spencer <pagameba at magma.ca> wrote:
> 
> 
>>Joan (?)
>>
>>some more information would be useful, in particular
>>... what is the 
>>problem?
>>
>>Cheers,
>>
>>Paul
>>
>>joanvp wrote:
>>
>>>Hi list!
>>>
>>>I've noticed a bug in my chameleon.
>>>I was working with great Chamaleon and all was ok
>>>until I tried to add an orthophoto to my map file.
>>
>>I
>>
>>>changed output type to jpeg and problem continues.
>>>
>>>I've tried my map in my old Maplab and all is
>>
>>fine. Is
>>
>>>it a bug? Any solution?
>>>
>>>This is an abstract of my map file:
>>>
>>>NAME "Mapes"
>>>  STATUS ON
>>>  EXTENT 428654 4335925 560316 4432303 
>>>  SIZE 400 300 
>>>  IMAGETYPE JPEG
>>>  SHAPEPATH "../data"
>>>  SYMBOLSET "../etc/symbols.sym"
>>>  FONTSET "../etc/fonts.txt"
>>>
>>>  IMAGECOLOR 153 204 255
>>>  UNITS METERS
>>>  
>>>  WEB
>>>    MINSCALE 1000
>>>    MAXSCALE 99999999
>>>    IMAGEPATH "/ms4w/tmp/ms_tmp/"
>>>    IMAGEURL "/ms_tmp/"
>>>    METADATA
>>>      "wms_title"  "WMS Mapes"
>>>  END
>>>END
>>>
>>>OUTPUTFORMAT
>>>  NAME jpeg
>>>  DRIVER "GD/JPEG"
>>>  MIMETYPE "image/jpeg"
>>>  IMAGEMODE RGB
>>>  EXTENSION "jpg"
>>>END
>>>
>>>(...)
>>>
>>>Thank you...and excuse my english.
>>>
>>>
>>>		
>>>__________________________________
>>>Do you Yahoo!?
>>>New and Improved Yahoo! Mail - Send 10MB messages!
>>>http://promotions.yahoo.com/new_mail 
>>>_______________________________________________
>>>Chameleon mailing list
>>>Chameleon at lists.maptools.org
>>>
>>
>>http://lists.maptools.org/mailman/listinfo/chameleon
>>
>>-- 
>> 
>>
> 
> -----------------------------------------------------------------
> 
>>|Paul Spencer                          
>>pspencer at dmsolutions.ca   |
>>
> 
> |-----------------------------------------------------------------|
> 
>>|Applications & Software Development                
>>             |
>>|DM Solutions Group Inc                
>>http://www.dmsolutions.ca/|
>> 
>>
> 
> -----------------------------------------------------------------
> 
>>
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 
> 
> 
> ------------------------------------------------------------------------
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           pspencer at dmsolutions.ca   |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



More information about the Chameleon mailing list