File::Find::Rule::ImageSize - rules for matching image dimensions
use File::Find::Rule::ImageSize; # find images bigger than 20x20 my @images = find( file => image_x => '>20', image_y => '>20', in => '.' );
File::Find::Rule::ImageSize interfaces Image::Size to File::Find::Rule enabling you to find files based upon their dimensions. Number::Compare is used so that the sizes may be relative values.
Match only things with their dimensions constrained by @sizes. The specification can be a relative, as implemented by Number::Compare.
Richard Clamp <richardc@unixbeard.net>, from an idea by Mark Fowler.
Copyright (C) 2002 Richard Clamp. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
File::Find::Rule, Number::Compare, Image::Size
To install File::Find::Rule::ImageSize, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Find::Rule::ImageSize
CPAN shell
perl -MCPAN -e shell install File::Find::Rule::ImageSize
For more information on module installation, please visit the detailed CPAN module installation guide.