[mapserver-users] How set a color with alpha channel using python mapscript

Andrea Peri aperi2007 at gmail.com
Fri Jan 1 09:43:41 PST 2016


Hi,

Is this sintax wrong ?

    msColor = mapscript.colorObj()
    msColor.setHex("#1632645f")

I'm having this error from python mapscript:

>MapServerError: setHex(): General error message. Invalid hex color.

Many thx and Happy new year 2016 to everyone.

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the mapserver-users mailing list