Page 1 of 1

only enlarge smaller don't work

Posted: 2011-08-25T07:08:33-07:00
by TSchlaier01
when Im trying to use the only enlarge smaller option for the resize command
exactly like its shown in the example on http://www.imagemagick.org/Usage/resize/

i receive following error message: invalid argument for option resize

!?

I try it this way:

Code: Select all

-resize 2080x3108\>
Can anyone help me?

Re: only enlarge smaller don't work

Posted: 2011-08-25T09:19:38-07:00
by fmw42
use < not > to enlarge smaller images see http://www.imagemagick.org/Usage/resize/#enlarge

also you may want to try

-resize "2080x3108<"

If you are on windows, then you need to use different syntax, see http://www.imagemagick.org/Usage/windows/. Escape in windows is ^ not \


What version of IM are you using. Your version may too old for those newer features.

Re: only enlarge smaller don't work

Posted: 2011-08-26T00:00:41-07:00
by TSchlaier01
Fantastic!
It works with

Code: Select all

 -resize 2180x3180^> 
Thank you very much!