Image::Size::FillFullSelect - Choose wether a image fill setting for a image should be fill or full.
Version 0.1.0
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>
<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.
bug-image-size-fillfullselect at rt.cpan.org
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
Copyright 2008 Zane C. Bowers, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Image::Size::FillFullSelect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::Size::FillFullSelect
CPAN shell
perl -MCPAN -e shell install Image::Size::FillFullSelect
For more information on module installation, please visit the detailed CPAN module installation guide.