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

Vincent Blanqué vincent.blanque at oriondata.cl
Tue Sep 8 14:59:29 EDT 2009


Hi,

It appears that you are right, the client only allows loading PNG
format. I tested with Arcgis and QGis in the 'bad' computer only PNG
format is available, BUT in the 'good', PNG, JPEG, PNG and TIFF are
available for the same WMS url:
http://oriondata.homedns.org:8542/cgi-bin/mapserv_jpeg?

Do you have any explanation to this strange behaviour ?

In the 'bad' computer, the grafical card is: NVDIA GForce 7050 PV/630A
in the 'good' one: ATI Radeon HD 2600... The issue could be relative to
the kind of graphical card ?

Thx,

Vincent



Rahkonen Jukka a écrit :
> 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
>>
>>
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vincent_blanque.vcf
Type: text/x-vcard
Size: 290 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090908/06692dad/vincent_blanque.vcf


More information about the mapserver-users mailing list