Page 1 of 1

How to resize large files only by mogrify

Posted: 2017-10-27T09:24:58-07:00
by etrader
I convert non-jpg files to jpg in a folder with mogrify:

Code: Select all

mogrify -format jpg -flatten images/*.*
I want to resize files, which are larger than 800px in width.

With convert command, the solution is

Code: Select all

-resize 800/>
How can I do this with morigy, which well works with the files in a folder.

Re: How to resize large files only by mogrify

Posted: 2017-10-27T09:57:14-07:00
by fmw42
Did you try

Code: Select all

mogrify -format jpg -flatten -resize 800\> images/*.*
Note it is 800\> not 800/>

Re: How to resize large files only by mogrify

Posted: 2017-10-27T10:25:44-07:00
by etrader
Oh my bad. Worked perfectly.