App::Followme::JpegData - Read datafrom a jpeg file
use App::Followme::JpegData; my $data = App::Followme::JpegData->new(); my $html = App::Followme::Template->new('example.htm', $data);
This module extratcs metadata from a jpeg image and uses that metadata to build variables used in a template.
All data classes are first instantiated by calling new and the object created is passed to a template object. It calls the build method with an argument name to retrieve that data item, though for the sake of efficiency, all the data are read from the file at once.
The name of the thumb file for a photo. Even though this is a single file, it is returned as a hash and thus must be used in a for statement.
The height of the photo
The width of the photo
The following fields in the configuration file are used in this class and every class based on it:
The extension used by jpeg files.
The prefix used to build the target names. The default value is 'img'.
The suffix added to the root of the photo filename to build the thumb photo filename. The default value is '-thumb'.
Copyright (C) Bernie Simon.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Bernie Simon <email@example.com>