[mapserver-users] 24 bit PNG transparent symbols

Davide Ticozzi davide at geosar.ch
Wed Apr 21 03:03:25 PDT 2010


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




More information about the MapServer-users mailing list