NAME
Media::DateTime::JPEG - A plugin for the Media::DateTime
module to support JPEG files.
SYNOPSIS
Media::DateTime::JPEG
shouldn't be used directly. See Media::DateTime
.
METHODs
- match
-
Takes a filename as an arguement. Used by the plugin system to determine if this plugin should be utilized for the file. Returns true if the filename ends in .jpeg or .jpg.
- datetime
-
Takes a filename as an arguement and returns the creation date or a false value if we are unable to parse it.
SEE ALSO
See Media::DateTime
for usage. Image::Info
is used to extract data from JPEG files.
AUTHOR
Mark V. Grimes, <mgrimes@cpan.org<gt>
FUTURE PLANS
May use a more flexible approach to assertaining if a file is a jpeg and might check that exif data exists in the match
method.
COPYRIGHT AND LICENSE
Copyright (C) 2006 by mgrimes
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.