[Mapserver-users] Bad PNG

Shannon Scott sscott at gwi.net
Fri Sep 19 14:49:33 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0090_01C37EBD.3CEC8C80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,
We have a map file that has served us well for a while, but we have =
found with a specific extent, created image cannot be viewed with a =
browser.
I have made an example available on-line.
Please see a copy of the bad PNG image at:
http://216.220.241.10/images/bad.png

The image should look like this ( but with a slightly different extent ) =
:
http://216.220.241.10/images/good.png

We have found that if we change the extent in the mapfile from this ( =
bad ):
"EXTENT 498485.56 4450660.5 503748.5 4455923.5 "

to this ( good ):
"EXTENT 498485.56 4450660.4 503748.5 4455923.4 "

The created image can be displayed in a browser.
We have also found that other software ( like PaintShopPro ) can read =
the bad image correctly.

Has anyone else seen this?
Any help or advice is greatly appreciated.
Thank You.
Shannon


------=_NextPart_000_0090_01C37EBD.3CEC8C80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>We&nbsp;have a map file that has served =
us well for=20
a while,&nbsp;but we have found with a specific extent, created image =
cannot be=20
viewed with a browser.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have made an example available=20
on-line.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Please see&nbsp;a copy of the bad PNG =
image=20
at:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://216.220.241.10/images/bad.png">http://216.220.241.10/image=
s/bad.png</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The image should look like this ( but =
with a=20
slightly&nbsp;different extent )&nbsp;:</FONT></DIV>
<DIV><A href=3D"http://216.220.241.10/images/good.png"><FONT =
face=3DArial=20
size=3D2>http://216.220.241.10/images/good.png</FONT></A></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>We have found that if we change the =
extent in the=20
mapfile from this ( bad ):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"EXTENT 498485.56 4450660.5 503748.5 =
4455923.5=20
"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>to this ( good ):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"EXTENT 498485.56 4450660.4 503748.5 =
4455923.4=20
"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The created image can be displayed in a =

browser.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>We have also found that other software =
( like=20
PaintShopPro ) can read the bad&nbsp;image correctly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Has anyone else seen this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Any help or advice is greatly=20
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thank You.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Shannon</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0090_01C37EBD.3CEC8C80--




More information about the mapserver-users mailing list