The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PDF::GetImages - get images from pdf document

SYNOPSIS

        use PDF::GetImages 'pdfimages';

        my $images = pdfimages('/abs/path/tofile.pdf');

DESCRIPTION

Get images out of a pdf document. This is a perl interface to pdfimages.

pdfimages()

argument is abs path to pdf doc optional argument is a dir to which to send images extracted returns abs paths to images extracted images are extracted to same dir pdf is in

If this is not a pdf, the file does not exist, or no images are extracted, warns and returns empty array ref []

AUTHOR

Leo Charre leocharre at cpan dot org

COPYRIGHT

Copyright (c) 2007 Leo Charre. All rights reserved.

LICENSE

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".

DISCLAIMER

This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the "GNU General Public License" for more details.