Creating Windows icons

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Creating Windows icons

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
SharkD
Posts: 35
Joined: 2006-07-30T13:18:31-07:00

Re: Creating Windows icons

Post by SharkD »

OK, thanks for your help.
Post Reply