Create several picture for one picture in one way
Posted: 2012-12-05T08:55:20-07:00
Hello.
I've got an original image for which I want to create a series of image with a variety of resolutions:
Initially I was doing something like this ...
But I want to do with one command
I tried this :
OR
But it doesn't work with error :
Any suggestions?
Thanks !
I've got an original image for which I want to create a series of image with a variety of resolutions:
Initially I was doing something like this ...
Code: Select all
convert '1.jpg' -gravity center -resize 190x168! -quality 70 '/converted/1.png'
convert '1.jpg' -gravity center -resize 320x240! -quality 100 '/converted/2.png''
I tried this :
Code: Select all
convert '1.jpg'
-write mpr:orig +delete
mpr:orig -gravity center -resize 190x168! -quality 70 -write '/converted/1.png' +delete
mpr:orig -gravity center -resize 320x240! -quality 100 '/converted/2.jpg' +delete
Code: Select all
convert '1.jpg'
-gravity center -resize 190x168! -quality 70 -write '/converted/1.png' +delete
-gravity center -resize 320x240! -quality 100 '/converted/2.jpg'
Code: Select all
convert: unable to open image `/converted/2.jpg': No such file or directory @ blob.c/OpenBlob/2480.
Thanks !