Prima::image-load 1.20 review

Download
by rbytes.net on

Prima::image-load is a Perl module using image subsystem. Simple loading Simplest case, loading a single image would look like:

License: Perl Artistic License
File size: 1389K
Developer: Dmitry Karasik
0 stars award from rbytes.net

Prima::image-load is a Perl module using image subsystem.

Simple loading

Simplest case, loading a single image would look like:

my $x = Prima::Image-> load( 'filename.duf');
die "$@" unless $x;

Image functions can work being either invoked from package, or from existing Prima::Image object, in latter case the caller object itself is changing. The code above could be also written as

my $x = Prima::Image-> create;
die "$@" unless $x-> load( 'filename.duf');

In both cases $x contains image data upon success. Error is returned into $@ variable ( see perldoc perlvar for more info).

Requirements:
Perl

Prima::image-load 1.20 search tags