NAME

funroll::Resize - A fuss(1) module to resize / rotate your images.


DESCRIPTION

The purpose of this module is to create low resolution images suitable for hosting on the web, or creating thumbnails of your images. With images generated by most modern digital camers, it should able to automatically detect which images need to be rotated, and rotate them. In any event your precious original images are left untouched.


OPTIONS

image_indir
The directory where your original images are. No matter what, images in this directory are NOT modified. This must be defined.

image_outdir
The directory where resized / rotated images go. This must be defined.

img_list
The name of the list (see ``list'' in fuss(1)``) that contains the list of images.

img_key
The name of the field in img_list which contains the filename of the image.

img_width
The new width you want the resized image to be. (The aspect ratio is always preserved on resizing.) If the image is rotated in addition the width and height options might be interchanged. See also even_height.

img_height
The new height you want the resized image to be. (The aspect ratio is always preserved on resizing.) If the image is rotated in addition the width and height options might be interchanged. See also even_height.

img_filter
Passed as the filter option to Resize(). See the Image::Magick(1) documentation for the meaning of this. Default Cubic.

img_blur
Passed as the ``blur'' option to Resize(). See the Image::Magick(1) documentation for the meaning of this. Default .75.

img_quality
Quality of the image to save. Default 80.

even_height
If defined, all images produced will have the same height. For example suppose img_width and img_height are set to 640 and 480 respectively. If image A (of dimensions 1024x768) needs to be rotated by 90 degrees, and then scaled then normally the new dimensions of A will be 480x640. However if even_height is set, then the resized and rotated image will have a height of 480, and a width computed so that the aspect ratio is preserved (in this case 360).


LICENCE

This program, and all files distributed with it are protected under the GNU General Programers Licence version 2 or later. See the file Licence for details.


SEE ALSO

fuss(1), perl(1), funroll::Page(1), funroll::Resize(1), funroll::Directory(1), funroll::Simple(1).


AUTHOR

Gautam Iyer <gi1242@users.sourceforge.net>.