Page 1 of 1

Convert image in single commande

Posted: 2017-05-18T02:54:49-07:00
by mohamed
hi , I want to convert multiple images in a single command
i want to use CONVERT command with -STRIP and converting all images in single command

Please help me out..

Thanks.

Re: Convert image in single commande

Posted: 2017-05-18T03:09:45-07:00
by snibgo
I'll move this to the Users forum.

Please say what version of IM you are using, on what platform.

A common form of the convert command is:

Code: Select all

convert infile.ext {operation} {operation} {operation} outfile.ext
You can have as many operations as you want: strip, resize, crop and so on.

Re: Convert image in single commande

Posted: 2017-05-18T04:32:55-07:00
by Bonzo
You probably want Mogrify rather than convert: https://www.imagemagick.org/script/mogrify.php

Unless specified Mogrify will overwrite the original files.