simon-git: puzzles (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sun Apr 24 09:04:22 BST 2016
TL;DR:
02ce237 Improve 'illegal colour' error message in icon.pl.
6a8a53e Explicitly set RGB colourspace in icon.pl's use of convert.
Repository: git://git.tartarus.org/simon/puzzles.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2016-04-24 09:04:22
commit 02ce237f911f7b970ea9b093226a9e7d09fffbf4
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=02ce237f911f7b970ea9b093226a9e7d09fffbf4;hp=9d15092e7fe618aef2a2e04b57df4e24462ed83f
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Apr 24 07:29:25 2016 +0100
Improve 'illegal colour' error message in icon.pl.
It actually went off this morning, after an upgrade of ImageMagick,
and I found that it contained both unprintable characters in the
colour description and the wrong variable in the coordinate display.
icons/icon.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 6a8a53e7235a8621313b792b498ebb43452f9e38
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=6a8a53e7235a8621313b792b498ebb43452f9e38;hp=02ce237f911f7b970ea9b093226a9e7d09fffbf4
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Apr 24 07:30:20 2016 +0100
Explicitly set RGB colourspace in icon.pl's use of convert.
This is that annoying feature of up-to-date 'convert' in which
converting to or from a PNG file defaults to returning RGB values that
have been 'helpfully' gamma-corrected (or some such) from the exact
data stored in the source file to some nonsense you didn't want.
Usually the worst this causes is slightly washed-out looking graphics,
but in this case, since my entire aim was to squash the image into a
specific set of exact RGB values so as to turn it into a paletted
Windows icon file, it caused an actual build failure when the next
loop in icon.pl couldn't find the gamma-corrected values in its
expected palette map, and no wonder.
icons/icon.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the tartarus-commits
mailing list