Never enlarge images in magick.exe

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
decard22
Posts: 1
Joined: 2019-10-15T18:45:47-07:00
Authentication code: 1152

Never enlarge images in magick.exe

Post by decard22 »

How to resize image in magick.exe with only shrink images to fit into the size given? Never enlarge.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Never enlarge images in magick.exe

Post by fmw42 »

-resize "widthxheight>"
widthxheight> Shrinks an image with dimension(s) larger than the corresponding width and/or height argument(s).
See > character at https://imagemagick.org/script/command- ... p#geometry
Post Reply