[Mapserver-users] problem with IMAGEMODE RGBA
Lowell Filak
lfilak at medinaco.org
Thu Aug 28 05:51:25 PDT 2003
I haven't used 24-bit color yet, but does it have to do with the
specified map IMAGECOLOR?
Lowell
The following message was sent by "Matt Doggett"
<mdoggett at coas.oregonstate.edu> on Wed, 27 Aug 2003 14:26:27 -0700.
> I need to use 24-bit PNG output with transparency so I'm using IMAGEMODE
> RGBA. However, with this mode, Mapserver creates an image with a bogus
> gray background colors most notably in the legend icons and the labels.
> If I turn all the layers off, then the entire map background is gray.
>
> Does anyone know what's going on here? I've attached a JPEG image
> showing what this looks like.
>
> Here is a snippet of my .map file:
>
> OUTPUTFORMAT
> NAME PNG24
> DRIVER "GD/PNG"
> MIMETYPE "image/png"
> IMAGEMODE RGBA
> EXTENSION "png24"
> FORMATOPTION "INTERLACE=ON"
> END
> IMAGETYPE PNG24
>
>
>
> Matt
> (RedHat8.0, Apache2.0, Mapserver 4.0, Php4.2.3, gd-2.0.12)
>
>
More information about the MapServer-users
mailing list