Reputation: 858
I want to use ImageMagick to generate a multiple sizes icon file from a jpeg image. The following command works well:
convert image.jpg -define icon:auto-resize=64,48,32,16 favicon.ico.
Furthermore, I would like to use stdout as output channel so I tried (Cf documentation):
convert image.jpg -define icon:auto-resize=64,48,32,16 ico:fd:1
But it does not produce any result.
What would be the correct command to generate multiple size icon and use stdout as output ?
Upvotes: 1
Views: 724
Reputation: 24419
Just for stdout? Then this would work
convert image.jpg -define icon:auto-resize=64,48,32,16 ico:-
Upvotes: 3