Image::Size::FillFullSelect - Choose wether a image fill setting for a image should be fill or full.
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");
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%.
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');
Zane C. Bowers,
<vvelox at vvelox.net>
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2008 Zane C. Bowers, all rights reserved.