[mapserver-users] image problems

Giorgio Volpe giorgio at nauta.it
Fri Mar 22 12:40:17 EST 2002


Lowell Filak wrote:
> 
> This may be my fault.
> Your .gif image is actually a png and your .png image is actually a jpeg with a quality factor of 0!
> If you bring your image up in Imagemagick "display europe.gif" and select 'image info' you will see what I mean.
> I may have the documentation wrong as to which file-type is which number in the docs. For now use $mapscript::MS_PNG & $mapscript::MS_JPEG instead of the numbers. I will try to track down what happened and correct the docs asap. The is an update of the docs due to be posted soon anyways (sent in 3-19-2002).
> Lowell F.
>

I saw that in mapscript documentation the number starts from 1 (gif=1).
Page: perlmapscript-reference.html section "Miscelaneous Functions":

 The filetype is 1=GIF, 2=PNG, 3=JPEG, 4=WBMP.


In reality gif is 0, png=1 , jpeg=2 


-- 

    Giorgio

-----------------------------------------



More information about the mapserver-users mailing list