Filename::Image - Check whether filename indicates being an image file
This document describes version 0.001 of Filename::Image (from Perl distribution Filename-Image), released on 2017-08-12.
use Filename::Image qw(check_image_filename); my $res = check_image_filename(filename => "foo.jpg"); if ($res) { printf "File is image"; } else { print "File is not image\n"; }
Please visit the project's homepage at https://metacpan.org/release/Filename-Image.
Source repository is at https://github.com/perlancar/perl-Filename-Image.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Filename-Image
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Filename::Audio
Filename::Video
Filename::Media
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Filename::Image, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Filename::Image
CPAN shell
perl -MCPAN -e shell install Filename::Image
For more information on module installation, please visit the detailed CPAN module installation guide.