[Mapserver-users] PNG file printing from browser

Ed McNierney ed at topozone.com
Tue Dec 3 12:46:53 EST 2002


This is a multi-part message in MIME format.

------_=_NextPart_001_01C29AF3.F71CF3B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Marie -
=20
IE 5 has problems printing 8-bit palettized PNGs.  The bug was fixed in =
IE 5.5 and is still fixed in IE 6 versions.  The PNG you printed =
successfully was probably a 24-bit PNG, which does not trigger the bug.
=20
See:
=20
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;255239
=20
    - Ed

-----Original Message-----
From: Marie Flanagan [mailto:theflan at gofree.indigo.ie]
Sent: Monday, December 02, 2002 8:52 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] PNG file printing from browser


Hello List,
=20
I have a query about printing the map image files generated by =
Mapscript.  If I try to print a map as a png image file from an IE5 =
browser it prints out incorrectly - just lots of black.  I thought the =
problem might be with the browser unable to print png format but other =
png file I found on the web seem to print ok from my browser.  I =
converted the output to JPEG and that prints ok but the file size is up =
to 5 times larger than png and is very slow to download.
=20
Any suggestions gratefully received.
=20
Regards,
=20
Marie Flanagan


------_=_NextPart_001_01C29AF3.F71CF3B0
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =
size=3D2>Marie=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =
size=3D2>IE 5=20
has problems printing 8-bit palettized PNGs.&nbsp; The bug was fixed in =
IE 5.5=20
and is still fixed in IE 6 versions.&nbsp; The PNG you printed =
successfully was=20
probably a 24-bit PNG, which does not trigger the =
bug.</FONT></SPAN></DIV>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =

size=3D2>See:</FONT></SPAN></DIV>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =
size=3D2><A=20
href=3D"http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;255239"=
>http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;255239</A></FO=
NT></SPAN></DIV>
<DIV><SPAN class=3D870084517-03122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D870084517-03122002>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Marie Flanagan=20
  [mailto:theflan at gofree.indigo.ie]<BR><B>Sent:</B> Monday, December 02, =
2002=20
  8:52 AM<BR><B>To:</B> =
mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B>=20
  [Mapserver-users] PNG file printing from browser<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Hello List,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I have a query about printing the map =
image files=20
  generated by Mapscript.&nbsp; If I try to print a map as a png image =
file from=20
  an IE5 browser it prints out incorrectly - just lots of black.&nbsp; I =
thought=20
  the problem might be with the browser unable to print png format but =
other png=20
  file I found on the web seem to print ok from my browser.&nbsp; I =
converted=20
  the output to JPEG and that prints ok but the file size is up to 5 =
times=20
  larger than png and is very slow to download.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Any suggestions gratefully =
received.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Marie=20
Flanagan</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C29AF3.F71CF3B0--



More information about the mapserver-users mailing list