IIIF::Magick - transform image with IIIF Image API Request using Image Magick
use IIIF::Magick qw(info convert); my $info = info($file, profile => "level0", id => "...") ; convert( $request, $file, "target.png" );
This module maps IIIF ImageAPI request parameters to ImageMagick command line arguments. See i3f (command line) and IIIF::ImageAPI (web service) for applications that make use of it.
Returns whether ImageMagick is available.
Returns image information object with fields @context, type, protocol, width, and height. Fields id and profile must be added for full IIIF compliance.
@context
type
protocol
width
height
id
profile
Convert an image file as specified with a IIIF::Request into an output file. Returns true on success. Additional arguments are prepended to the call of ImageMagick's convert.
convert
Get the list of command line arguments to convert to transform an image file as specified via a IIIF::Request.
To install IIIF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IIIF
CPAN shell
perl -MCPAN -e shell install IIIF
For more information on module installation, please visit the detailed CPAN module installation guide.