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 !