[mapserver-users] JPG is bad rendered in some computers ?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Sep 8 00:22:39 PDT 2009


Hi,

I strongly believe that Mapserver is sending identical jpegs to all your computers and the reason is somewhere in the WMS client side. That does not mean that everything is OK and you should just suffer.

Investigate the jpeg files that Mapserver is sending by saving some samples on disk.  Open saved images with image processing software and have a look at image information. Are images technically identical on each computer?  If they are then there must be some differencies in your WMS clients or their settings.

My guess is that the bad jpeg is not a jpeg at all but your WMS client is asking for 8-bit png or gif.

-Jukka Rahkonen-

Vincent Blanqué wrote:


> Hi,
> 
> I have a problem with a WMS service in JPEG format. With 
> various computers, I have a bad rendering of the JPEG tiles 
> while with another rendering is perfect. You can watch 
> screenshots joint to understand better the issue.
> 
> My mapfile is written like:
> 
> IMAGEQUALITY 95
> IMAGETYPE jpeg
> 
> OUTPUTFORMAT
> 	NAME jpeg
> 	DRIVER 'GD/JPEG'
> 	MIMETYPE 'image/jpeg'
> 	IMAGEMODE RGB
> 	EXTENSION 'jpeg'
> END
> 
> If you have any solution ?
> 
> Thanks,
> 
> Vincent
> 
> 
> 



More information about the MapServer-users mailing list