<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Bob,<br>
<br>
I did a fix some time ago (<a
href="http://geomoose.org/trac/ticket/108">http://geomoose.org/trac/ticket/108</a>)
regarding using the alpha channel in Print_util.php. This fix is in
GeoMoose v2.4 so I'm confused...<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 11/23/2011 9:27 AM, Bistrais, Bob wrote:
<blockquote
cite="mid:4EFF8BB964547748A07CA32961810C041C809A08@SOM-TEAQASMAIL1.som.w2k.state.me.us"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered
medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial;color:navy">It sure looks like a
problem with the
alpha channels. Doesn’t seem to matter which browser I
use, either.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
<div>
<div class="MsoNormal" style="text-align:center"
align="center"><font face="Times New Roman" size="3"><span
style="font-size:12.0pt">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span
style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font
face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma"> Jim Klassen
[<a class="moz-txt-link-freetext" href="mailto:klassen.js@gmail.com">mailto:klassen.js@gmail.com</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b>
Wednesday, November 23, 2011
10:43 AM<br>
<b><span style="font-weight:bold">To:</span></b>
Bistrais, Bob<br>
<b><span style="font-weight:bold">Cc:</span></b> Bob
Basques;
<a class="moz-txt-link-rfc2396E" href="mailto:geomoose-users@lists.osgeo.org"><geomoose-users@lists.osgeo.org></a><br>
<b><span style="font-weight:bold">Subject:</span></b>
Re: [Geomoose-users]
Printing wms layers</span></font><o:p></o:p></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size:
12.0pt"><o:p> </o:p></span></font></p>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size:
12.0pt">If the quality is different between PNG and GIF
you are probably using
PNG24 (as PNG8 and GIF should be identical image wise).<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size:
12.0pt"><o:p> </o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size:
12.0pt">My guess is a GD bug dealing with PNG24. I'm
not sure what your
options are, but it sounds like the print.php needs to
be rewritten with a more
modern library.<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><br>
On Nov 23, 2011, at 9:11, "Bistrais, Bob" <<a
moz-do-not-send="true"
href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>>
wrote:<o:p></o:p></span></font></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"
type="cite">
<div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
color="navy" face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial;
color:navy">Looks like I’m using png. <u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
color="navy" face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial;
color:navy"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
color="navy" face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial;
color:navy">One thing I tried was to use gif in the
mapbook.xml, for those WMS
layers, but while they displayed alright, the
quality was awful.<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
color="navy" face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial;
color:navy"><u1:p> </u1:p></span></font><o:p></o:p></p>
<div>
<div class="MsoNormal" style="text-align:center"
align="center"><font face="Times New Roman" size="3"><span
style="font-size:12.0pt">
<hr tabindex="-1" align="center" size="2"
width="100%">
</span></font></div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><font
face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma;font-weight:
bold">From:</span></font></b><font face="Tahoma"
size="2"><span style="font-size:
10.0pt;font-family:Tahoma"> Bob Basques
[<a class="moz-txt-link-freetext" href="mailto:Bob.Basques@ci.stpaul.mn.us">mailto:Bob.Basques@ci.stpaul.mn.us</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b>
Wednesday, November 23, 2011
10:05 AM<br>
<b><span style="font-weight:bold">To:</span></b> <a
moz-do-not-send="true"
href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>;
Bistrais, Bob<br>
<b><span style="font-weight:bold">Subject:</span></b>
RE: [Geomoose-users]
Printing wms layers</span></font><u1:p></u1:p><o:p></o:p></p>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Comic Sans MS" size="3"><span
style="font-size:12.0pt;font-family:"Comic Sans
MS"">What version of PNG, PNG8
PNG24, etc.</span></font> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Comic Sans MS" size="3"><span
style="font-size:12.0pt;font-family:"Comic Sans
MS"">bobb</span></font> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><br>
<br>
>>> "Bistrais, Bob" <<a
moz-do-not-send="true"
href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>>
wrote:<u1:p></u1:p><o:p></o:p></span></font></p>
<table class="MsoNormalTable"
style="margin-left:11.25pt;background:#F3F3F3"
bgcolor="#F3F3F3" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<div style="border:none;border-left:solid #050505
1.0pt;padding:0in 0in 0in 5.0pt">
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
color="navy" face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial;
color:navy">Yes, the WMS is outputting
PNG. What would be recommended instead?<o
style="color: navy; font-size: 10.0pt;
font-family: Arial" p="#DEFAULT"></o></span></font>
<u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
color="navy" face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial;
color:navy"><o style="color: navy;
font-size: 10.0pt; font-family: Arial"
p="#DEFAULT"> </o></span></font> <u1:p></u1:p><o:p></o:p></p>
<div>
<div class="MsoNormal"
style="text-align:center" align="center"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt">
<hr tabindex="-1" align="center"
size="2" width="100%"> </span></font></div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><font
face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma;
font-weight:bold">From:</span></font></b><font
face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma"> Bob
Basques
[<a class="moz-txt-link-freetext" href="mailto:Bob.Basques@ci.stpaul.mn.us">mailto:Bob.Basques@ci.stpaul.mn.us</a>]<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday,
November 22, 2011 4:54 PM<br>
<b><span style="font-weight:bold">To:</span></b> <a
moz-do-not-send="true"
href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>;
Bistrais, Bob<br>
<b><span style="font-weight:bold">Subject:</span></b> Re:
[Geomoose-users] Printing wms layers</span></font><o
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><o
style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o> <u1:p></u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Comic Sans MS" size="3"><span
style="font-size:12.0pt;font-family:"Comic
Sans MS"">Something to look at . .
.</span></font><o p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><o
style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o> <u1:p></u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Comic Sans MS" size="3"><span
style="font-size:12.0pt;font-family:"Comic
Sans MS"">What is the format of the
images from the WMS service?</span></font><o
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><o
style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o> <u1:p></u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Comic Sans MS" size="3"><span
style="font-size:12.0pt;font-family:"Comic
Sans MS"">PNG24 vs other PNG
formats have caused problem in cross
browser situations. Some versions of IE
don't like one or the other for example.</span></font><o
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><o
style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o> <u1:p></u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Comic Sans MS" size="3"><span
style="font-size:12.0pt;font-family:"Comic
Sans MS"">bobb</span></font><o
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><o
style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o> <u1:p></u1:p><o:p></o:p></span></font></p>
<p style="margin:0in;margin-bottom:.0001pt"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><br>
<br>
>>> "Bistrais, Bob" <<a
moz-do-not-send="true"
href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>>
wrote:<o style="font-size: 12.0pt;
font-family: Times New Roman"
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></span></font></p>
<table class="MsoNormalTable"
style="margin-left:11.25pt;background:#F3F3F3;background-image:null;
background-position:null;background-attachment:scroll" bgcolor="#F3F3F3"
border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt
.75pt">
<div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto"><font face="Arial"
size="2"><span
style="font-size:10.0pt;font-family:
Arial">I had brought up this
question before but it seems
to be happening again. I
have a few layers that I
consume in GeoMoose by WMS.
Some of these are vecot line
layers such as roads. They
work perfectly in GeoMoose
map view. But when I
compose a printable map,
these layers have a black
background which obscures
other layers and just plain
looks ugly. If I set the
“transparent” property to
false, the black background
goes away, but then I can’t
see any underlying data. <o
style="font-size: 10.0pt;
font-family: Arial"
p="#DEFAULT"></o></span></font> <o
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto"><font face="Arial"
size="2"><span
style="font-size:10.0pt;font-family:
Arial"><o style="font-size:
10.0pt; font-family:
Arial" p="#DEFAULT"> </o></span></font><o
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto"><font face="Arial"
size="2"><span
style="font-size:10.0pt;font-family:
Arial">By the way, I do have
control over the WMS
services in this case. I
tried to set Offsite to 0 0
0, but that didn’t seem to
help either. The WMS is at
MapServer 6.0.1. Any
suggestions?<o
style="font-size: 10.0pt;
font-family: Arial"
p="#DEFAULT"></o></span></font><o
p="#DEFAULT"></o> <u1:p></u1:p><o:p></o:p></p>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><o
style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o> <u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Times New Roman" size="3"><span
style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"
type="cite">
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size:
12.0pt">_______________________________________________<br>
Geomoose-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><o:p></o:p></span></font></p>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
</blockquote>
</body>
</html>