Gimp::PDL 1.211
Sponsored Links
Gimp::PDL 1.211 Ranking & Summary
File size:
0.26 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1093
Date added:
2006-10-26
Publisher:
Marc Lehmann
Gimp::PDL 1.211 description
Gimp::PDL is a Perl module to overwrite Tile/Region functions to work with piddles. This module is obsolete, please remove any references to it.
SYNOPSIS
use Gimp;
use Gimp::PDL;
use PDL;
This module overwrites some methods of Gimp::Tile and Gimp::PixelRgn. The new functions return and accept piddles. The last argument (height) of gimp_pixel_rgn_set_rect is calculated from the piddle. There is no other way to access the raw pixeldata in Gimp.
Some exmaples:
$region = $drawable->get->pixel_rgn (0,0, 100,100, 1,0);
$pixel = $region->get_pixel (5,7); # fetches the pixel from (5|7)
print $pixel; # outputs something like
# [255, 127, 0], i.e. in
# RGB format ;)
$region->set_pixel ($pixel * 0.5, 5, 7);# darken the pixel
$rect = $region->get_rect (3,3,70,20); # get a horizontal stripe
$rect = $rect->hclip(255/5)*5; # clip and multiply by 5
$region->set_rect($rect); # and draw it!
undef $region; # and update it!
SYNOPSIS
use Gimp;
use Gimp::PDL;
use PDL;
This module overwrites some methods of Gimp::Tile and Gimp::PixelRgn. The new functions return and accept piddles. The last argument (height) of gimp_pixel_rgn_set_rect is calculated from the piddle. There is no other way to access the raw pixeldata in Gimp.
Some exmaples:
$region = $drawable->get->pixel_rgn (0,0, 100,100, 1,0);
$pixel = $region->get_pixel (5,7); # fetches the pixel from (5|7)
print $pixel; # outputs something like
# [255, 127, 0], i.e. in
# RGB format ;)
$region->set_pixel ($pixel * 0.5, 5, 7);# darken the pixel
$rect = $region->get_rect (3,3,70,20); # get a horizontal stripe
$rect = $rect->hclip(255/5)*5; # clip and multiply by 5
$region->set_rect($rect); # and draw it!
undef $region; # and update it!
Gimp::PDL 1.211 Screenshot
Gimp::PDL 1.211 Keywords
PDL
PDL 1.211
to work
to overwrite
Perl module
pixel
rect
module
piddles
functions
work
Gimp::PDL
GimpPDL
Gimp::PDL 1.211
Libraries
Programming
Bookmark Gimp::PDL 1.211
Gimp::PDL 1.211 Copyright
WareSeeker periodically updates pricing and software information of Gimp::PDL 1.211 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 Gimp::PDL 1.211 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
Related Software
Gimp::Pod is a Perl module to evaluate pod documentation embedded in scripts. Free Download
Gimp::Pixel is a how to operate on raw pixels. Free Download
Gimp::Lib is an interface to libgimp (as opposed to Gimp::Net). Free Download
Gimp::Data is a Perl module to set and get state data. Free Download
Gimp::Util is a Perl module to some handy routines for Gimp-Perl users. Free Download
Gimp::OO is a Perl module with pseudo-OO for Gimp functions. Free Download
Gimp::Fu is a "easy to use" framework for Gimp scripts. Free Download
Gimp::UI is a "simulation of libgimpui", and more! Free Download
Latest Software
Popular Software
Favourite Software