Page 1 of 1

Output as ICON

Posted: 2008-02-27T07:10:26-07:00
by Innocentus
I want to output a favicon (.ico / .icon) with ImageMagick's convert-tool.

I tried the following command on the commandline for the convert-tool:
convert testfile.jpg -resize 20x20! ICO:-
But I only get
11
as output.

But when I use the command:
convert testfile.jpg -resize 20x20! JPG:-
It works - I get a jpeg but I want an icon.

Why can I get a jpeg - but no icon?
Thank you very much for your help and support!
With best regards!
Innocentus

Re: Output as ICON

Posted: 2008-02-28T00:46:47-07:00
by jpiquemal
Hello
convert testfile.jpg -resize 20x20! resize.ico
works well with IM 6.3.9-1

convert testfile.jpg -resize 20x20! ICO:-
works too but gives a dump of the icon