<!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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>&nbsp;&nbsp;&nbsp; * Format = PNG<BR>&nbsp;&nbsp;&nbsp; * 
Transparency = TRUE<BR>&nbsp;&nbsp;&nbsp; * Width &amp; Height can vary (255 x 
255 works)<BR>&nbsp;&nbsp;&nbsp; * Photoshop 
Instructions<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o Open a 
blank RGB canvas page with a transparent 
background<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o Create 
the text that you want for the watermark, angle 
appropriately<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o Save 
out a PNG format with interlace on </FONT></SPAN></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>&nbsp; SYMBOL<BR>&nbsp;&nbsp;&nbsp; NAME 
"logo_company"<BR>&nbsp;&nbsp;&nbsp; TYPE PIXMAP<BR>&nbsp;&nbsp;&nbsp; IMAGE 
"h2o_logos/company.png"<BR>&nbsp; END</FONT></SPAN></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2>LAYER<BR>&nbsp;&nbsp; NAME "Watermarking 
Layer"<BR>&nbsp;&nbsp; DATA "<A 
href="file://\\path\directory\polygon.shp">\\path\directory\polygon.shp</A>"&nbsp;&nbsp; 
# worldwide or limit to coverage area<BR>&nbsp;&nbsp; STATUS 
DEFAULT<BR>&nbsp;&nbsp; TYPE POLYGON<BR>&nbsp;&nbsp; 
PROJECTION<BR>&nbsp;&nbsp;&nbsp;&nbsp; "proj=longlat" "ellps=WGS84" 
"datum=WGS84" "no_defs"<BR>&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# Use MINSCALE or MAXSCALE for specific coverage area visibility<BR>&nbsp;&nbsp; 
TRANSPARENCY 
75&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# TRANSPARENCY 0 = full transparency<BR>&nbsp;&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
SYMBOL "logo_company"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp; END<BR>END</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=337041820-27082007><FONT face=Verdana 
color=#0000ff size=2></FONT></SPAN>&nbsp;</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>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME 
"States/Provinces1"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 
'truetype-symbol'&nbsp; #or SYMBOL 
'pixmap-symbol'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp; 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> 
&lt;<A href="mailto:rhow@i3.com">rhow@i3.com</A>&gt; 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?&nbsp;&nbsp;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>&gt;&gt;&gt; Randy How 
  &lt;<A href="mailto:rhow@I3.COM">rhow@I3.COM</A>&gt; 08/23/07 9:09 PM 
  &gt;&gt;&gt; <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>&nbsp;&nbsp;SYMBOL<BR>&nbsp;&nbsp;&nbsp;&nbsp;NAME 
  "logo"<BR>&nbsp;&nbsp;&nbsp;&nbsp;TYPE PIXMAP<BR>&nbsp;&nbsp;&nbsp;&nbsp;IMAGE 
  "h2o_logos/logo.GIF" <BR>&nbsp;&nbsp;&nbsp;&nbsp;TRANSPARENT 
  0<BR>&nbsp;&nbsp;END<BR><BR>According to the reference setting a color index 
  in the GIF sets the<BR>transparency (i.e. TRANSPARENT 0).&nbsp;&nbsp;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.&nbsp;&nbsp;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>