Output as ICON

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?".
Post Reply
Innocentus

Output as ICON

Post 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
jpiquemal
Posts: 54
Joined: 2003-12-07T01:57:19-07:00

Re: Output as ICON

Post 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
Post Reply