NAME
Orze::Drivers::Thumb - Create a page by copying an image and making a thumbnail of it
DESCRIPTION
Create a page by copying an image from the data/ directory to the www/ directory and creating a thumbnail with the same name prefixed by thumb_.
It takes care of the following attributes:
- format
-
The format for the thumbnail.
- size
-
The size of the thumbnail.
EXAMPLE
<page name="media/poster"
extension="pdf"
format="png"
size="200x300"
driver="Thumb">
</page>
This snippet of an xml project description copy the file data/outputdir/media.pdf to www/outputdir/media.pdf and a thumbnail of size 300x200 to the file www/outputdir/thumb_media.png
SEE ALSO
Lookt at Image::Thumbnail for the supported formats.
METHODS
process
Do the real processing