The following commit has been merged in the master branch:
commit 7a695de816952459dea4b697726bfd3bdded40cb
Author: Gabriele Giacone <[email protected]>
Date:   Fri Apr 5 02:39:17 2013 +0200

    Fix icons gamma corrections.

diff --git a/debian/changelog b/debian/changelog
index 89c410b..eb7ea17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sweethome3d-textures-editor (1.1-2) UNRELEASED; urgency=low
+
+  * Fix icons gamma correction.
+
+ -- Gabriele Giacone <[email protected]>  Fri, 05 Apr 2013 02:39:04 +0200
+
 sweethome3d-textures-editor (1.1-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index cd8d75a..ffe610f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,12 +20,11 @@ override_dh_auto_install:
        #icons
        for i in 16 22 48 128; do \
                mkdir -p $(ICONS)/$$i; \
-               convert $(ABOUT) -resize $${i}x$${i} -background 
'rgba(0,0,0,0)' \
-                       -colorspace RGB -gravity center -extent $${i}x$${i} \
-                       $(ICONS)/$$i/$(NAME).png; \
+               convert $(ABOUT) -colorspace RGB -resize $${i}x$${i} \
+                       -colorspace sRGB $(ICONS)/$$i/$(NAME).png; \
        done
-       convert $(ABOUT) -resize 32x32 -background 'rgba(0,0,0,0)' \
-               -colorspace RGB -gravity center -extent 32x32 
$(ICONS)/$(NAME).xpm
+       convert $(ABOUT) -colorspace RGB -resize 32x32 \
+               -colorspace sRGB $(ICONS)/$(NAME).xpm
        dh_install
 
 override_dh_auto_clean:

-- 
Sweet Home 3D Textures Library Editor

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to