Imager::APIImager::API allows you to access Imager functions at the C level from XS and from Inline::C. | |
Download |
Imager::API Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tony Cook
- Publisher web site:
- http://search.cpan.org/~tonyc/
Imager::API Tags
Imager::API Description
Imager::API allows you to access Imager functions at the C level from XS and from Inline::C. Imager::API allows you to access Imager functions at the C level from XS and from Inline::C.SYNOPSIS #include "imext.h" #include "imperl.h" DEFINE_IMAGER_CALLBACKS; MODULE = Your::Module PACKAGE = Your::Module ... BOOT: PERL_INITIALIZE_IMAGER_CALLBACKS;The API allows you to access Imager functions at the C level from XS and from Inline::C.The intent is to allow users to:· write C code that does Imager operations the user might do from Perl, but faster, for example, the Imager::CountColor example.· write C code that implements an application specific version of some core Imager object, for example, Imager::SDL.· write C code that hooks into Imagers existing methods, such as filter or file format handlers.TypesThe API makes the following types visible:· i_img - used to represent an image· i_color - used to represent a color with up to 8 bits per sample.· i_fcolor - used to represent a color with a double per sample.· i_fill_t - an abstract fillAt this point there is no consolidated font object type, and hence the font functions are not visible through Imager's API. Requirements: · Perl
Imager::API Related Software