Add "-colorspace rgb" to our ImageMagick calls
The old PNGs that were generated caused a warning from libpng when they were read: incorrect gamma=(0/100000) Ignoring incorrect gAMA value when sRGB is also present This changes the look of the resulting icons by making them darker. However, right now I just want to get rid of that stupid warning. Feel free to suggest better options. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
779d43fc46
commit
2ea8f44694
|
@ -283,7 +283,7 @@ endmacro()
|
|||
foreach(icon ${ALL_ICONS})
|
||||
# Make unfocused icons translucent
|
||||
a_icon_convert("_focus" "_normal" ${icon}
|
||||
-gamma 0.6 -channel A -evaluate Multiply 0.4)
|
||||
-colorspace rgb -gamma 0.6 -channel A -evaluate Multiply 0.4)
|
||||
endforeach()
|
||||
|
||||
foreach(icon ${ALL_ICONS})
|
||||
|
|
Loading…
Reference in New Issue