Page 1 of 1

how to use clone while resizing multiple images

Posted: 2013-01-10T00:54:06-07:00
by Aston Martin
I have multiple images in a folder and what i am doing is resizing all the images with below command

convert inputFolder/*.gif -resize 450x324 -quality 100 outputFolder/ImageName_%0d.gif;


this gives me correct result but now i also want to create different size images with same convert command

for this i am using below command

convert inputFolder/*.gif +clone -resize 323x242 -quality 100 -write outputFolder/SmallImage_%0d.gif.gif +delete -resize 450x324 -quality 100 outputFolder/ImageName_%0d.gif;

this also works fine and 2 copy of each images are generated.

Now is there any way for selective resizing means for clone command i only want the copy of first,last or any specific image and not all.

Re: how to use clone while resizing multiple images

Posted: 2013-02-13T00:51:32-07:00
by anthony
Not at this time.

perhaps in the future as IMv7 scripting takes off.

In the mean tome you need a shell or dos script to make the selections.