NAME

Image::Resize::Path - A lightweight wrapper to GD for mass image resizing

VERSION

version 0.01

SYNOPSIS

use Image::Resize::Path;

my $image_obj = Image::Resize::Path->new; $image_obj->supported_images(['jpg']);

my $path = './test_data';

$test_obj->src_path('/src'); $test_obj->dest_path('/dest'); $test_obj->resize_images(100,100);

DESCRIPTION

Inspired by Image::Resize

STATIC METHODS

sub new()

Purpose: Constructor
Input:   Ref/String of class
         Hash of parameters
Output:  Ref to instance

PUBLIC METHODS

dest_path()

Purpose: An accessor for dest_path. This must be set.
Input:   A string/path value.
Output:  The current destination path.

resize_images()

Purpose: Resizes images in a directory.
Input:   Ref/String of class.
Output:  An array ref of images resized.

supported_images()

Purpose: An accessor to for supported_images.
Input:   Ref of self.
         Array ref of supported image extensions.
Output:  Hash ref of support image extensions.

src_path()

Purpose: An accessor for dest_path. This must be set.
Input:   A string/path value.
Output:  The current source path.

AUTHOR

Logan Bell <logan@orchardtech.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Logan Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.