Some random places I Have seen ...
loading ...

Couldn’t be easier!

Simply:

1. Install ImageMagick

2. Setup the needed environment variables:

export MAGICK_HOME="/opt/local/var/ImageMagick-6.5.3"
export PATH="/opt/local/var/ImageMagick-6.5.3/bin:$PATH"
export DYLD_LIBRARY_PATH="/opt/local/var/ImageMagick-6.5.3/lib"

3. Resize:

bash-3.2$ /opt/local/bin/mogrify -resize 525x700 image.jpg

(NOTE: Overwrites image (does not create a new image))

Related posts:

  1. Switches and the Mac OS X Boot Loader
  2. Web Application Load Balancing and In Memory Session Sharing with Tomcat and Apache
  3. flickr.photos.search through the Flickr API with PHP + REST + curl
  4. February in Luxembourg…
Tags: , ,
Leave a Reply