[mapserver-dev] Handling alpha values in colors

Tamas Szekeres szekerest at gmail.com
Sun Sep 23 02:38:03 PDT 2012


Hi All,

I don't properly understand how we intend to handle alpha values of colors
in mapserver. Currently the alpha values can be specified in mapfiles (by
using the hexadecimal format), but that values are not written back to the
file in msSaveMap.
Style level opacity seems to override alpha values specified in mapfiles,
but on the other hand we cannot specify opacity at some places (like in
label text colors).
By using the opacity values of styles seems to change the alpha values of
multiple properties (color, outlinecolor, background color etc.) which
doesn't seems to be as such generic as specifying the alpha values for the
colors individually.

I can also see the conditional compilation flag ALPHACOLOR_ENABLED in the
code, but it doesn't have much effect for the operation.

Could someone explain how the things are expected to work?

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120923/23cc36af/attachment.html>


More information about the mapserver-dev mailing list