Resizing multiple image files at once
J.Markoll
j.markoll at free.fr
Sun Jan 15 01:27:29 UTC 2006
Ronny Haryanto a écrit :
> On Sunday 15 January 2006 03:17, 'Forum Post, '@wailuku.xlogicgroup.com wrote:
>>Gimp works, but i have to do it picture for picture.
>>I have 64 images to go.... i dont like the idea that i have to do 50
>>images next week again..... so i am searching for the batch-method.
>>I can resize, but not a group of images.
> If you have imagemagick installed, you can cook a short bash script utilising
> 'mogrify', like so (adjust seasoning to your liking):
> for img in *.jpg; do echo $img; mogrify -resize 640x480 $img; done
> Run 'mogrify -help' for more options. Other useful program from imagemagick
> that I use quite often is 'convert'.
> Ciao,
> Ronny
Hi Ronny, if I say I'd like to read more precise explanations, would it
be a problem ? yes I know difficult to be more precise. :(
Example, should it look like:
In a text editor,
#!/bin/sh
for img in *.jpg; do echo $img; mogrify -resize 640x480 $img; done
then 'save as' (for ex: image-resize) and then, make it executable with
chmod a+x
Mogrify, who is that entity ? the man!
**************************************
OVERVIEW
The mogrify program is a member of the ImageMagick(1) suite of
tools. Use it to resize an image, blur, crop,
despeckle, dither, draw on, flip, join, re-sample, and much
more. This tool is similiar to convert(1) except the
original image file is overwritten with any changes you request.
For more information about this command, point your browser to
file:///usr/share/doc/ImageMagick-6.2.3/index.html.
Run ‘mogrify -help’ to get a summary of the mogrify command options.
**************************************
That feels better.
And also, according to your knowledge is there a first steps imagemagick
documentation ?
Thanks if you could bring the tiny details.
Greetings, Joyce Markoll.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060115/169d78fe/attachment.sig>
More information about the ubuntu-users
mailing list