Skip to main content

imagemagick

ImageMagick

Posted in

ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

Recommended Libraries

Installation

  • Linux

    cd /extra/src
  • ImageMagick conversions

    Posted in

    Helpful one-liners and small scripts for batch processing of images.

    Drop Quality factor of JPEG files

    for imageFile in *.jpg; do convert -quality 25 $imageFile $imageFile; done

    Resize JPEG files

    for imageFile in *.jpg; do convert -resize 2048x2048 $imageFile $imageFile; done

    Largest dimension will be 2048 pixels

    Resources
    http://www.wizards-toolkit.org/discourse-server/viewtopic.php?f=1&t=18409

    ImageMagick for OS X

    Installing ImageMagick on OS X 10.3 (Panther) and OS X 10.6 (Snow Leopard).

    Recommended Libraries

    ImageMagick installation
    To get the latest version of ImageMagick:

    Image

    This module allows users with proper permissions to upload images into Drupal. Thumbnails and additional sizes are created automatically. Also has the files required to use the ImageMagick toolkit.

    Module Installation

    1. Copy this directory to a suitable modules directory, such as sites/all/modules
    2. Enable the module at: Administer > Site building > Modules
    3. Configure the module settings at: Administer > Site configuration > Image
    4. Configure cron if you didn't do so already to have your temporary upload directory cleaned up. See http://drupal.org/cron for detailed instructions.
    Syndicate content