i3f - apply IIIF Image API requests on the command line
This script uses ImageMagick to transform an image file as specified with an IIIF Image API Request. It can also be used to get IIIF Image Information.
$ i3f 100,120,15,20/\!12 convert -crop 15x20+100+120 -flop -rotate 12 -background none $ i3f 64,64 image.png target.png
Core parts of implementation in IIIF::Magick.
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.