[mapserver-users] 24 bit PNG transparent symbols

mario at geosar.ch mario at geosar.ch
Wed Apr 21 09:48:56 EDT 2010


Il 21.04.2010 12:03, Davide Ticozzi ha scritto:
> Hi List,
>
> I'have the same question posted by Ben Brehmer in the late 2008, but 
> nobody have given a response until now.
>
> I've been trying to get 24 bit PNG symbols to be transparent.
>
> I've tried both GD and AGG output. I've tried --with-experimental-png. 
> I've tried editing the symbol in photoshop to be transparent. 
> Basically fooled around with all the different output format options. 
> I've tried both RGB and RGBA png images.
>
> 8 bit PNG symbols work just fine. But the 24 bit symbols always have a 
> white and non-transparent background (see attached image).
>
> Is there any other mapfile configurations I can try before I convert 
> all of my 24 bit images to 8 bit?
>
> Or maybe this is a known bug?
>
> Thanks,
>
> Dave
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

Hello Dave,
Try using ALPAH as value  in opacity filed of the layer.



More information about the mapserver-users mailing list