-resize

-format

here’s some details of the implementation of the -resize option with the very nifty parameter details.

Resize to exact 640×480, change aspect ratio if necessary

mogrify -resize 640×480! *.jpg
Resize to 50% of original size, keep the aspect ratio

mogrify -resize 50% *.jpg
Resize images that are less than 640 pixel wide to 640px wide (image wider will be ignored)

mogrify -resize 640

Resize images to no larger than 640×480 (images with width and height less than 640 or 480 will be ignored)

mogrify -resize 640×480″>” *.jpg
Resize images to 100K pixels

mogrify -resize 100000 *.jpg
Digital Photography Tips and Techniques

Some of the Select Options (There’s Tons more!) that I found interesting and amusing:

-antialias
remove pixel aliasing
-border
surround the image with a border of color
-bordercolor
the border color
-emboss
emboss an image
-flip
create a “mirror image”
-format
the image format type
-frame x++
surround the image with an ornamental border
-gaussian x
blur the image with a gaussian operator
-help
print usage instructions
-implode
implode image pixels about the center
-level
adjust the level of image contrast
-noop
NOOP (no option)
-normalize
transform image to span the full range of color values
-resize x{%}{@}{!}{}
resize an image
-scale
scale the image
-shear
shear the image along the X or Y axis
-tile
tile image when filling a graphic primitive
-transform
transform the image
-transparent
make this color transparent within the image
-unsharp
sharpen the image with an unsharp mask operator
-verbose
print detailed information about the image
-wave x
alter an image along a sine wave

Everything from converting files, batch-processing, creating a montage of thumbnails, displaying slideshows of images, animating gif animations, and more can be accomplished with the this mogrify command.  Check out ImageMagick for basic usage and examples.

VERY Useful Links of some Linux Friends and Compadres on the specific mogrify command

Advertisements

About V.P.

meh meh.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s