Ithumb::XS - small and simple Imlib2 thumbnail module.
Ithumb::XS is a very small (one function) and simple Perl-XS module for creation a thumbnails, using Imlib2 library.
Peter P. Neuromantic <p.brovchenko@protonmail.com>
use Ithumb::XS; Ithumb::XS::create_thumbnail('src.png', 100, 100, 'output.png');
Creates a small copy (with cropping) of the image.
$source_image
$width
$height
$dst_image
BSD 3-Clause License
Copyright (c) 2018, Peter P. Neuromantic <p.brovchenko@protonmail.com> All rights reserved.
See LICENSE file for more details.
To install Ithumb::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ithumb::XS
CPAN shell
perl -MCPAN -e shell install Ithumb::XS
For more information on module installation, please visit the detailed CPAN module installation guide.