<html>
<body>
<br>
Sorry Glenn, I don't have an answer, but I've been dealing with the same
problem.<br><br>
Transparency seems to work as expected with:<br><br>
OUTPUTFORMAT<br>
&nbsp; NAME png24<br>
&nbsp; DRIVER &quot;GD/PNG&quot;<br>
&nbsp; MIMETYPE &quot;image/png&quot;<br>
&nbsp; IMAGEMODE RGBA<br>
&nbsp; EXTENSION &quot;png&quot;<br>
&nbsp; TRANSPARENT ON<br>
END<br><br>
but not with:<br><br>
OUTPUTFORMAT<br>
&nbsp; NAME 'AGG'<br>
&nbsp; DRIVER AGG/PNG<br>
&nbsp; IMAGEMODE RGBA<br>
&nbsp; FORMATOPTION &quot;PALETTE_FORCE=TRUE&quot;<br>
&nbsp; FORMATOPTION &quot;PALETTE=&quot;<br>
&nbsp; TRANSPARENT ON<br>
END<br><br>
It's as if with AGG/PNG the TRANSPARENT ON setting is completely
ignored.<br><br>
Mike<br><br>
<br>
At 10:52 AM 04/02/2009, gwaldron wrote:<br><br>
<br>
<blockquote type=cite class=cite cite="">I'm trying to use IMAGECOLOR to
try to force all pixels of a certain color to<br>
become fully transparent, but I am not having any luck getting it to
work.<br><br>
My output format it AGG/PNG, RGBA, TRANSPARENT ON.<br><br>
I have a shapefile layer set to COLOR 0 50 100, and my map-level
IMAGECOLOR<br>
set to the same. I was hoping all the polys in the shapefile would render
as<br>
transparent pixels, but no luck; they just show up as blue
polygons.<br><br>
What am I doing wrong here? Thanks.<br><br>
-----<br>
Glenn Waldron * Pelican Mapping * gwaldron@pelicanmapping.com * +1 703
652<br>
4791<br>
-- <br>
View this message in context:
<a href="http://n2.nabble.com/Using-IMAGECOLOR-to-create-a-transparency-mask-tp2270688p2270688.html" eudora="autourl">
http://n2.nabble.com/Using-IMAGECOLOR-to-create-a-transparency-mask-tp2270688p2270688.html</a>
<br>
Sent from the Mapserver - User mailing list archive at
Nabble.com.<br><br>
_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" eudora="autourl">
http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote>
<x-sigsep><p></x-sigsep>
<tt>----------------------------------------------<br>
Michael Dunham-Wilkie, M.Sc., M.P.A.<br>
Senior Database Analyst<br>
Barrodale Computing Services Ltd. <br>
Tel: (250) 472-4372 Fax: (250) 472-4373 <br>
Web:
<a href="http://www.barrodale.com">
<font face="Courier New, Courier" color="#0000FF">
http://www.barrodale.com<br>
</a></font>Email: mike@barrodale.com <br>
----------------------------------------------<br>
Mailing Address:<br>
P.O. Box 3075 STN CSC<br>
Victoria BC Canada V8W 3W2 <br><br>
Shipping Address: <br>
Hut R, McKenzie Avenue <br>
University of Victoria <br>
Victoria BC Canada V8W 3W2<br>
---------------------------------------------- </body>
</html>