<!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.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT size=2>one possible solution would be to define a specific 24bit
color output and force your wms layer to use it thought the metadata
parameter, you loose the transparency though.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mariange@geog.utoronto.ca
href="mailto:mariange@geog.utoronto.ca">MB</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=Cartoweb-users@lists.maptools.org
href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 14, 2008 9:22
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] export pdf -
legend error - WMS as layer source</DIV>
<DIV><BR></DIV>hello -<BR><BR> i have added the legend template
block to exportpdf.ini as
per<BR>cartoweb3/projects/test_main/client_conf/exportPdf.ini)<BR><BR> all
goes well however i get an error if if a wms layer is turned on - and i
try to print to pdf<BR><BR>the layer in question mtrans gets its legend
graphic from the source as defined in the .map file
:<BR><BR>"wms_legend_graphic" "true"<BR><BR>the web error i get is
<BR><BR><A class=moz-txt-link-freetext
href="http://tundra.geog.utoronto.ca/cartoweb/CUSIMANO1.php?mode=pdf">http://tundra.geog.utoronto.ca/cartoweb/CUSIMANO1.php?mode=pdf</A><BR><BR><B>FPDF
error: </B>Alpha channel not supported:
/opt/www/cartoweb3/htdocs/generated/icons/CUSIMANO1/CUSIMANO1/mtrans.png<BR><BR>if
i would add SLD definitions to the mapfile woud<BR> my pdf legend then be
able to add this layer or is there another work around ?<BR><BR>many
thanks<BR>mariange<BR><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>