<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ISO-8859-15" http-equiv=content-type>
<META name=GENERATOR content="MSHTML 8.00.6001.18999">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2>I believe there may be some problem with png 24bit with
transparency</FONT></DIV>
<DIV><FONT size=2>is your image 8bit or 24bit? and does it has transparency
?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=simone.frigerio@univie.ac.at
href="mailto:simone.frigerio@univie.ac.at">simone.frigerio@univie.ac.at</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> Friday, February 25, 2011 10:16
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] error adding
raster</DIV>
<DIV><BR></DIV>Hi,<BR>I am adding some raster layers (.ini and .map files
correctly updated) in a project. A lot of previous images were included
without problem, but the last PNG files generate this failure after
update:<BR><BR><B>Fatal error: Call to a member function set() on a non-object
in C:\ms4w\apps\cartoweb3\plugins\outline\server\ServerOutline.php on line
452</B><BR><BR>Images are raster in png format. I try different
conversion of images but same messages occours.<BR>The expression around line
452 in ServerOutline.php<B> </B>required is:<BR>...<BR>line 450
// Creates fake layer to be able to generate icons from class/style<BR>line
451 $newLayer = ms_newLayerObj($msMapObj);<BR>line
452 $newLayer->set('type', MS_LAYER_POINT); //
important<B><BR>....<BR></B><BR>Thanks!<BR>Simone<B><BR></B><PRE class=moz-signature cols="72">--
** Think about the environment before printing **
</PRE>
<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>