Ithumb::XS

Ithumb::XS - fast, small and simple Perl-XS module for creation a thumbnails, using Imlib2 library.

Installation

To manual install this module type the following:

$ perl Makefile.PL
$ make
$ make test
$ make install

To automatical install this module type the following:

$ cpan install Ithumb::XS

Dependences

This module requires these other modules and libraries:

Imlib2 (binary and headers)

Usage

use Ithumb::XS ();

Ithumb::XS::create_thumbnail({
    width     => 800,
    height    => 600,
    src_image => 'source_image.jpg',
    dst_image => 'destination_result_image.jpg'
});

OO-interface:

use Ithumb::XS;

my $ithumb = Ithumb::XS->new;
$ithumb->convert({
    width     => 800,
    height    => 600,
    src_image => 'source_image.jpg',
    dst_image => 'destination_result_image.jpg'
});

Copyright (C) 2018, 2019 by Peter P. Neuromantic p.brovchenko@protonmail.com.

For more information see LICENSE file.