I'm seeing an issue converting snazzymaps.com map styles to static map urls where brightness and/or color is converted incorrectly. I have already read this question and used the tool in the comment.
Here's a good example of the problem: https://snazzymaps.com/style/30/cobalt
[
{
"featureType": "all",
"elementType": "all",
"stylers": [
{"invert_lightness": true},
{"saturation": 10},
{"lightness": 30},
{"gamma": 0.5},
{"hue": "#435158"}
]
}
]
gives: https://i.stack.imgur.com/zRBDY.png
Using the code/tool from http://jsfiddle.net/gaby/s6Dyp/, gives: https://i.stack.imgur.com/EN10p.png
It's obviously much brighter. Clearly, some value is off but I'm not sure which one(s). Tinkering with the vals, I can get a vaguely similar result to the original by tweaking gamma to 0.9 and the lightness to 10.
It doesn't look to me like there's an issue with the conversion since the values are the same. Rather, it seems the static map service is giving different a result for the same values. Has anyone come across a similar problem?