how do i create two thumbnail within single command?

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
shredmaster

how do i create two thumbnail within single command?

Post by shredmaster »

i need to create two thumbnail in different size from a large image. it's possible to do it within single command?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: how do i create two thumbnail within single command?

Post by fmw42 »

try

convert image \( +clone -thumbnail W1xH1 -write image_thumb1 \) -thumbnail W2xH2 image_thumb2

see http://www.imagemagick.org/Usage/basics/#parenthesis

if you are on windows see http://www.imagemagick.org/Usage/windows/
Post Reply