<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>Thanks Thomas that worked.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>For the record to get a transparent image fill in place for 
watermarking purposes:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007></SPAN><SPAN 
class=337041820-27082007><FONT face=Verdana color=#0000ff size=2>Image Creation 
Instructions</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>    * Format = PNG<BR>    * 
Transparency = TRUE<BR>    * Width & Height can vary (255 x 
255 works)<BR>    * Photoshop 
Instructions<BR>          o Open a 
blank RGB canvas page with a transparent 
background<BR>          o Create 
the text that you want for the watermark, angle 
appropriately<BR>          o Save 
out a PNG format with interlace on </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>Example symbol File definition </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>  SYMBOL<BR>    NAME 
"logo_company"<BR>    TYPE PIXMAP<BR>    IMAGE 
"h2o_logos/company.png"<BR>  END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>Example of the LAYER definition</FONT></SPAN></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>LAYER<BR>   NAME "Watermarking 
Layer"<BR>   DATA "<A 
href="file://\\path\directory\polygon.shp">\\path\directory\polygon.shp</A>"   
# worldwide or limit to coverage area<BR>   STATUS 
DEFAULT<BR>   TYPE POLYGON<BR>   
PROJECTION<BR>     "proj=longlat" "ellps=WGS84" 
"datum=WGS84" "no_defs"<BR>   
END<BR>                                                   
# Use MINSCALE or MAXSCALE for specific coverage area visibility<BR>   
TRANSPARENCY 
75                       
# TRANSPARENCY 0 = full transparency<BR>   
CLASS<BR>     STYLE<BR>       
SYMBOL "logo_company"<BR>       COLOR 0 0 
0<BR>     END<BR>   END<BR>END</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> thomas bonfort 
[mailto:thomas.bonfort@gmail.com] <BR><B>Sent:</B> Saturday, August 25, 2007 
3:59 AM<BR><B>To:</B> Randy How<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] 
Transparent Pixmap Symbol<BR></FONT><BR></DIV>
<DIV></DIV>I've checked with what withe the svn version and transparency is 
working with gd and agg for pixmap (with a png image, haven't tried gif) and 
truetype polygons fills.<BR>the layer definition is simply<BR>...<BR>OPACITY 50 
<BR>....<BR>    CLASS<BR>     NAME 
"States/Provinces1"<BR>     
STYLE<BR>        SYMBOL 
'truetype-symbol'  #or SYMBOL 
'pixmap-symbol'<BR>       COLOR 0 0 
0<BR>     END<BR>...<BR><BR>for png pixmaps, no need for the 
TRANSPARENT keyword <BR><BR>thomas<BR><BR>
<DIV><SPAN class=gmail_quote>On 8/25/07, <B class=gmail_sendername>Randy How</B> 
<<A href="mailto:rhow@i3.com">rhow@i3.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Thanks 
  for the response Steve,<BR><BR>I've tried all sorts of variations for PNG and 
  GIF, and it hasn't been<BR>successful.<BR><BR>Any other options for "logo 
  water-marking" maps from MapServer?  I was<BR>excited about this 
  approach, but I can't get a transparency for the fill.<BR><BR>Thanks 
  again,<BR>Randy<BR><BR>-----Original Message-----<BR>From: Steve Lime 
  [mailto:<A href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us 
  </A>]<BR>Sent: Friday, August 24, 2007 4:35 PM<BR>To: <A 
  href="mailto:rhow@I3.COM">rhow@I3.COM</A>; <A 
  href="mailto:MAPSERVER-USERS@lists.umn.edu">MAPSERVER-USERS@lists.umn.edu</A><BR>Subject: 
  Re: [UMN_MAPSERVER-USERS] Transparent Pixmap Symbol <BR><BR>Randy: I'm 
  thinking we have a documentation issue here. I'm not sure that<BR>the 
  TRANSPARENT option is even supported anymore. Typically MapServer<BR>respects 
  the transparency of the image itself, so you need to create a <BR>transparent 
  GIF for that to work. Give that a shot and I'll check the source<BR>(and 
  update the docs) to make sure.<BR><BR>Steve<BR><BR><BR>>>> Randy How 
  <<A href="mailto:rhow@I3.COM">rhow@I3.COM</A>> 08/23/07 9:09 PM 
  >>> <BR>I'm attempting to set the background transparency for a 
  symbol that I've<BR>created, but with no success.<BR><BR>My symbol 
  definition<BR><BR>  SYMBOL<BR>    NAME 
  "logo"<BR>    TYPE PIXMAP<BR>    IMAGE 
  "h2o_logos/logo.GIF" <BR>    TRANSPARENT 
  0<BR>  END<BR><BR>According to the reference setting a color index 
  in the GIF sets the<BR>transparency (i.e. TRANSPARENT 0).  Color 
  index is 0 is black, and the<BR>output map layer symbol is not transparent! 
  <BR><A 
  href="http://mapserver.gis.umn.edu/docs/reference/symbology/referencemanual-all-pa">http://mapserver.gis.umn.edu/docs/reference/symbology/referencemanual-all-pa</A><BR>ges<BR><BR>I've 
  looked over this page and it only discusses PNG files.  I can't get 
  any <BR>of my PNG file variations to work either.<BR><A 
  href="http://mapserver.gis.umn.edu/docs/howto/cartosymbols">http://mapserver.gis.umn.edu/docs/howto/cartosymbols</A><BR><BR>Any 
  help would be greatly appreciated,<BR>Randy 
<BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>