diff options
| -rwxr-xr-x | icons/icon.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icons/icon.pl b/icons/icon.pl index d0c5a8e..fcb1aa3 100755 --- a/icons/icon.pl +++ b/icons/icon.pl @@ -127,7 +127,7 @@ sub readicon { # point, to avoid having to do it ourselves (.BMP and hence # .ICO are bottom-up). my $data = []; - open IDATA, "convert -flip -depth 8 $filename rgba:- |"; + open IDATA, "convert -set colorspace sRGB -flip -depth 8 $filename rgba:- |"; push @$data, $rgb while (read IDATA,$rgb,4,0) == 4; close IDATA; # Check we have the right amount of data. |