ImageMagick functionality is added by configuring with the plugin
Given a model attachment
or a Job object created with something like
the ImageMagick plugin provides the following…
Processors
Thumb
Create a thumbnail by resizing/cropping
Below are some examples of geometry strings for thumb:
You can optionally specify the output format or specify a single frame/page (e.g. for gifs/pdfs) to work on
Encode
Change the encoding with
optionally pass imagemagick arguments
Rotate
Rotate a number of degrees with
Analysers
The following methods are provided
Generators
Text
If you have ghostscript installed on your system, you can generate text images with
or with options
Note that the text generation options are meant to resemble css as much as possible.
You can use padding-top, padding-left, etc., as well as the standard css shortcuts for padding (it assumes unit is px).
An alternative for font-family is font (see the imagemagick docs), which could be a complete filename.
Available fonts are those available on your system.
Plain
A plain coloured image is generated with
or with options
Plasma
Generate a fractal-like plasma image with
The format is optional (defaults to png).
Extra methods
Identify
The plugin adds an identify method to Job objects and model attachments which
simply proxies to the command line and returns the output.
Configuration
On configure you can specify where to find the imagemagick commands