Image::Size::FillFullSelect - Choose wether a image fill setting for a image should be fill or full.


Image-Size-FillFullSelect documentation  | view source Contained in the Image-Size-FillFullSelect distribution.

Index


NAME

Top

Image::Size::FillFullSelect - Choose wether a image fill setting for a image should be fill or full.

VERSION

Top

Version 0.1.0

SYNOPSIS

Top

Decides if the fill setting for a image should be either fill, in meaning the image should be resized to fix the screen, or full which means it should be scaled to fit the screen.

    use Image::Size::FillFullSelect;

    my $iffs = Image::Size::FillFullSelect->new();
    my $FFselection = $iffs->select("someImage.gif");

FUNCTIONS

Top

new

This creates a new Image::Size::FillFullSelect object.

It takes one optional arguement, which is a integer that represents the maximum difference between the X and Y dimensions of a image. The default is .2, which means the maximum differce between either can be 20%.

select

This makes the selection between the two.

It takes two arguements and three optional ones.

The first arguement is the image.

The second is the max difference when the size of the picture is used to devide each other.

The third is continuation of the second, but defaults what ever the second is if it is not specified.

The fourth is comparative X resolution to use.

The fifth is the comparative Y resolution to use.

Upon a error, it returns undef.

    my $filltype=$iffs->select($image, '.2', undef, '800', '600');

AUTHOR

Top

Zane C. Bowers, <vvelox at vvelox.net>

BUGS

Top

Please report any bugs or feature requests to bug-image-size-fillfullselect at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Image-Size-FillFullSelect. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Image::Size::FillFullSelect




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Image-Size-FillFullSelect

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Image-Size-FillFullSelect

* CPAN Ratings

http://cpanratings.perl.org/d/Image-Size-FillFullSelect

* Search CPAN

http://search.cpan.org/dist/Image-Size-FillFullSelect

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Image-Size-FillFullSelect documentation  | view source Contained in the Image-Size-FillFullSelect distribution.