From 2ea8f446943aff4b3ea79e1e047c796d3cf41511 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 24 Oct 2012 18:09:55 +0200 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a3b7e5b1..fc3e6730f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})