The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Ithumb::XS

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