NAME
Ithumb::XS - small and simple Imlib2 thumbnail module.
DESCRIPTION
Ithumb::XS is a very small (one function) and simple Perl-XS module for creation a thumbnails, using Imlib2 library.
MAINTAINERS
Peter P. Neuromantic <p.brovchenko@protonmail.com>
SYNOPSIS
use Ithumb::XS;
Ithumb::XS::create_thumbnail('src.png', 100, 100, 'output.png');
METHODS
create_thumbnail($src_image, $width, $height, $dst_image);
Creates a small copy (with cropping) of the image.
$source_image
- full path to source image$width
- destination width$height
- destination height$dst_image
- full path to destionation result image
LICENSE
BSD 3-Clause License
Copyright (c) 2018, Peter P. Neuromantic <p.brovchenko@protonmail.com> All rights reserved.
See LICENSE file for more details.