Page 2 of 2

Re: Creating Windows icons

Posted: 2008-09-30T18:16:22-07:00
by anthony
If it is then yes. With (small) examples if posible,

Idealy something like

Code: Select all

   convert image.png ico:- |
             compare -metric PNE   ico:-  image.png null:
Should return '0' as in there are no color differences between a PNG and a ICO image.

However that does not gurantte the image, as it only checks a write and read, reproduces the original image exactly. As such a quick eyeball look may still be needed. But it does provide a quick automated check that the format is working reasonably well.

My own test shows the images are totally different, and a eyeball test...

Code: Select all

 convert image.png ico:- |   display ico:-
shows the write-read cycle has indeed inverted the alpha on my IM v6.4.4-2 svn build.

Re: Creating Windows icons

Posted: 2008-10-03T14:24:18-07:00
by SharkD
OK, thanks for your help.