imagemagick

ImageMagick

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

  • libtiff
    cd /extra/src
    wget http://dl.maptools.org/dl/libtiff/tiff-3.8.2.tar.gz
    tar zxf tiff-3.8.2.tar.gz
    cd tiff-3.8.2
    ./configure
    make
    sudo make install
  • libjpeg
    cd /extra/src
    wget http://www.ijg.org/files/jpegsrc.v8c.tar.gz
    tar zxf jpegsrc.v8c.tar.gz
    cd jpeg-8
    ./configure
    make
    sudo make install

Installation

  • Linux

    cd /extra/src
  • Technology:

    ImageMagick conversions

    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

    • Convert PDF to multiple JPEG files:
      convert image.pdf -scene 1 image-%d.jpg

      "scene" specifies where the page numbers will start

    Technology:

    ImageMagick for OS X

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

    Recommended Libraries

    • libtiff
      wget http://dl.maptools.org/dl/libtiff/tiff-3.8.2.tar.gz
      tar zxf tiff-3.8.2.tar.gz
      cd tiff-3.8.2
      ./configure
      make
      sudo make install
    • libjpeg
      wget http://www.ijg.org/files/jpegsrc.v7.tar.gz
      tar zxf jpegsrc.v7.tar.gz
      cd jpeg-7
      ./configure
      make
      sudo make install

    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.
    Subscribe to RSS - imagemagick

    Recent Updates

    • 8 months 3 weeks ago
      1.27.2 update
    • 9 months 3 days ago
      Drupal 10/11 config
    • 9 months 5 days ago
    • PHP
      9 months 5 days ago
      PHP 8.3.11 and AlmaLinux
    • 9 months 5 days ago
      New version of Pound