<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864380111-03042008>How do you georeference your jpeg and png images?
If it goes wrong with png then Mapserver believes that image
origo is at coordinates (0,0) </SPAN></FONT></DIV>
<DIV><SPAN class=864380111-03042008></SPAN><FONT face=Arial color=#0000ff
size=2>and that probably does not suit the bounding box of <SPAN
class=864380111-03042008>yo</SPAN>ur request.</FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2>-<SPAN
class=864380111-03042008>Jukka
Rahkonen-</SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Ibon
Tamayo<BR><B>Lähetetty:</B> 3. huhtikuuta 2008 13:52<BR><B>Vastaanottaja:</B>
mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> [mapserver-users] png
problems<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi all, </DIV>
<DIV> </DIV>
<DIV>I'm having troubles with drawing png shapes. I dont have any problem to
visualize the jpg but it has white areas out of the image, so I can't see what
is under this shape. I decided to convert to png but now I can't see the image
in the mapserver. </DIV>
<DIV> </DIV>
<DIV>what is the problem?</DIV>
<DIV> </DIV>
<DIV>LAYER #Foto.png<BR> TRANSPARENCY
100<BR> NAME 'Foto'<BR> TOLERANCE
3<BR> TOLERANCEUNITS pixels<BR> DATA
'Foto.png'<BR> LABELCACHE on<BR> STATUS
on<BR> DEBUG false<BR> TRANSFORM
true<BR> TYPE raster<BR> MINSCALE
100000<BR> PROCESSING "DITHER=NO"<BR>
PROCESSING "BANDS=1,2,3"<BR> PROCESSING
"SCALE_1=auto"<BR> PROCESSING
"SCALE_2=auto"<BR> PROCESSING "SCALE_3=auto"<BR>
END #LAYER<BR> </DIV>
<DIV>Regards, </DIV>
<DIV>Ibon</DIV></BLOCKQUOTE></BODY></HTML>