Imager::Engines 0.54
Sponsored Links
Imager::Engines 0.54 Ranking & Summary
File size:
0.83 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1102
Date added:
2006-10-17
Publisher:
Arnar M. Hrafnkelsson and Anthony Cook
Imager::Engines 0.54 description
Imager::Engines is a Perl module for programmable transformation operations.
SYNOPSIS
use Imager;
my %opts;
my @imgs;
my $img;
...
my $newimg = $img->transform(
xexpr=>x,
yexpr=>y+10*sin((x+y)/10))
or die $img->errstr;
my $newimg = Imager::transform2(%opts, @imgs)
or die "transform2 failed: $Imager::ERRSTR";
my $newimg = $img->matrix_transform(
matrix=>[ -1, 0, $img->getwidth-1,
0, 1, 0,
0, 0, 1 ]);
transform
The transform() function can be used to generate spatial warps and rotations and such effects. It only operates on a single image and its only function is to displace pixels.
It can be given the operations in postfix notation or the module Affix::Infix2Postfix can be used to generate postfix code from infix code. Look in the test case t/t55trans.t for an example.
transform() needs expressions (or opcodes) that determine the source pixel for each target pixel. Source expressions are infix expressions using any of the +, -, *, / or ** binary operators, the - unary operator, ( and ) for grouping and the sin() and cos() functions. The target pixel is input as the variables x and y.
You specify the x and y expressions as xexpr and yexpr respectively. You can also specify opcodes directly, but thats magic deep enough that you can look at the source code.
SYNOPSIS
use Imager;
my %opts;
my @imgs;
my $img;
...
my $newimg = $img->transform(
xexpr=>x,
yexpr=>y+10*sin((x+y)/10))
or die $img->errstr;
my $newimg = Imager::transform2(%opts, @imgs)
or die "transform2 failed: $Imager::ERRSTR";
my $newimg = $img->matrix_transform(
matrix=>[ -1, 0, $img->getwidth-1,
0, 1, 0,
0, 0, 1 ]);
transform
The transform() function can be used to generate spatial warps and rotations and such effects. It only operates on a single image and its only function is to displace pixels.
It can be given the operations in postfix notation or the module Affix::Infix2Postfix can be used to generate postfix code from infix code. Look in the test case t/t55trans.t for an example.
transform() needs expressions (or opcodes) that determine the source pixel for each target pixel. Source expressions are infix expressions using any of the +, -, *, / or ** binary operators, the - unary operator, ( and ) for grouping and the sin() and cos() functions. The target pixel is input as the variables x and y.
You specify the x and y expressions as xexpr and yexpr respectively. You can also specify opcodes directly, but thats magic deep enough that you can look at the source code.
Imager::Engines 0.54 Screenshot
Imager::Engines 0.54 Keywords
Engines 0.54
Perl module
0
transform
module
operations
transformation
0.54
Imager::Engines
ImagerEngines
Imager::Engines 0.54
Libraries
Programming
Bookmark Imager::Engines 0.54
Imager::Engines 0.54 Copyright
WareSeeker periodically updates pricing and software information of Imager::Engines 0.54 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Imager::Engines 0.54 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
total transformation
perl modules
female werewolf transformation
granite transformations
install perl module
transformation.co.uk
installing perl module
xml parser perl module
atrpms perl module helper
perl module tutorial
module master
transformers the movie
operations manager 2007
order of operations
lunar module
transformers movie
net ssleay perl module
operations director
Related Software
Imager::Filters is an entire image filtering operations. Free Download
Imager::Fountain is a class for building fountain fills suitable for use by the fountain filter. Free Download
Imager::interface.pod decribes the C level virtual image interface. Free Download
Imager::Tutorial is an introduction to Imager. Free Download
Imager::Color is a Perl module with color handling for Imager. Free Download
Locale::Memories is a Perl module for L10N Message Retrieval. Free Download
The metric implemented in the Image::Density Perl Module estimates the density of data where there is data. Free Download
Convert::Braille::English is a Perl module that can convert Between Braille Encodings. Free Download
Latest Software
Popular Software
Favourite Software