how to use clone while resizing multiple images

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Aston Martin
Posts: 1
Joined: 2013-01-10T00:12:39-07:00
Authentication code: 6789

how to use clone while resizing multiple images

Post 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.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: how to use clone while resizing multiple images

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply