Apache::Magick

This module uses the Image::Magick library to process an image on the fly. There is only one base image (in this case a JPG), but when you try to fetch the image with a different suffix, it will be automatically converted to the requested image format. You can specify image manipulation filters in the additional path info, and format options in the query string.

Try the precanned examples below. Then read the Image::Magick documentation and try a few new URLs for yourself! (hint: Image::Magick supports TIFF, PPM, PGM, PPB and even postscript formats)

The Original
/images/frog.jpg

As an XBM bitmap
/images/frog.xbm

Scaled to 200 pixels and converted to PNG
/images/frog.png/Scale?geometry=200X200

Solarized
/images/frog.jpg/Solarize

OilPainted
/images/frog.jpg/Spread

Rotated 90 degrees
/images/frog.jpg/Rotate?degrees=90

changed to GIF
/images/frog.gif/Scale?geometry=200x20e

Imploded (slow, be patient)
/images/frog.jpg/Implode?amount=0.5

Negated
/images/frog.jpg/Negate

Swirled (slow, be patient)
/images/frog.jpg/Swirl?degrees=90

Segmented
/images/frog.jpg/Segment

mod_perl Home Page