Another thought on this is the because you are asking for a transparent
image, the IMAGECOLOR tag is usually transparent and I have seen that
come up as black in some cases.
-Steve W
Stephen Woodbridge wrote:
Alexandre,
Do you have IMAGECOLOR "#000000" set at the MAP level? Also I would put
the background color as the first color in the mypalette.txt file and
see if that helps.
-Steve W
Alexandre Dube wrote:
Hi,
== problem ==
I'm pretty sure I saw this problem on the list somewhere, but I
couldn't find the actual thread so here it is : while using
agg & palette option, when there's no data to draw, instead of having
the backgroundcolor drawn it's all black instead.
How can I go around this problem ?
== my actual need ==
I want to produce smaller images. Currently, my getMap renders a 66K
png image. With the palette, it's down to 17K but with a black
background.
== ouputformat definition ==
OUTPUTFORMAT
NAME aggpng24
DRIVER AGG/PNG
MIMETYPE "image/png"
IMAGEMODE RGB
EXTENSION "png"
FORMATOPTION "INTERLACE=OFF"
FORMATOPTION "PALETTE_FORCE=ON"
FORMATOPTION "PALETTE=/my/path/mypalette.txt"
TRANSPARENT ON
FORMATOPTION "TRANSPARENT=ON"
END
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users