Page 1 of 1

how do i create two thumbnail within single command?

Posted: 2010-04-20T08:01:36-07:00
by shredmaster
i need to create two thumbnail in different size from a large image. it's possible to do it within single command?

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

Posted: 2010-04-20T09:23:07-07:00
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/