PNG transparency in ie

Frank Warmerdam warmerdam at POBOX.COM
Thu Nov 25 12:35:57 PST 2004


Stéphane RIFF wrote:
> I want to generate png with transparent background because i
> want to display two image at the same position.
> I works great when visiting the url with mozilla, firefox but ie doesn't
> render the transparence.
> I know that png image to be transparent in ie must be in indexed color mode
> Is yhere something to do other than change outputformat to gif

Stephane,

Is the problem that you can't seem to force MapServer to produce an indexed
color mode PNG file, or that even when you do it doesn't seem to set the
transparency value properly?  There may be something we need to alter in
our handling of PNG generation in MapServer.   But not knowing too much
about the quirks of different browsers in this regard, it isn't clear to me
yet what is wrong with the pngs generated by MapServer.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the MapServer-users mailing list