SWISH::Filters::ImageTypesToXml - A filter that applies Imager::ImageTypes to index
Version 0.05
A SWISHE filter that takes an incoming jpg and analyzes it with Imager::ImageTypes. This filter also accepts incoming XML as long as there is a base64 image data.
If an XML file is passed into the filter it will look for the "b64_data" tag. If the xml contains this tag it will process the image that is stored in base64 format.
Within the dezi configuration there are paremters that can be passed into the user meta data of this filter.
{ engine_config => { ... }, image_types_config => { generate_histogram => 1 } }
This will either dump the colors of the histogram or not. It is off by default.
Constructor. Dynamically loads Imager and Search::Tools::XML. Also sets the filter mimtype to whatever Imager supports.
Generates Imager::ImageTypes meta data for indexing.
Logan Bell, <loganbell at gmail.com>
<loganbell at gmail.com>
Please report any bugs or feature requests to bug-swish-filters-imagetypestoxml at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SWISH-Filters-ImageTypesToXml. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-swish-filters-imagetypestoxml at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc SWISH::Filters::ImageTypesToXml
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=SWISH-Filters-ImageTypesToXml
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/SWISH-Filters-ImageTypesToXml
CPAN Ratings
http://cpanratings.perl.org/d/SWISH-Filters-ImageTypesToXml
Search CPAN
http://search.cpan.org/dist/SWISH-Filters-ImageTypesToXml/
Copyright 2011 Logan Bell.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install SWISH::Filters::ImageTypesToXml, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SWISH::Filters::ImageTypesToXml
CPAN shell
perl -MCPAN -e shell install SWISH::Filters::ImageTypesToXml
For more information on module installation, please visit the detailed CPAN module installation guide.