Home > Notes > Batch image resize

Batch image resize

Moved to http://noodlecode.net/2010/02/batch-image-resize/

Categories: Notes Tags: ,
  1. web
    December 15, 2010 at 1:02 AM

    It didn’t work. I have a folder of jpg images (about 400). When I run the command above I get:

    mogrify: invalid argument for option `450px’: -resize @ error/mogrify.c/MogrifyImageCommand/5755.

  2. December 15, 2010 at 1:29 AM

    Ahhhhh.. Got it.

    Use: mogrify -resize 800x *.jpg

    Without the p (800x vs 800px)

    800x represents width while x800 represents height

    I used “mogrify -resize ‘450x>’ *.jpg”

    Any image larger than 450 was resized to 450 ~ while smaller images kept their respective size.

  1. No trackbacks yet.

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: