File::Find::Rule::ImageSize - rules for matching image dimensions


File-Find-Rule-ImageSize documentation  | view source Contained in the File-Find-Rule-ImageSize distribution.

Index


NAME

Top

File::Find::Rule::ImageSize - rules for matching image dimensions

SYNOPSIS

Top

 use File::Find::Rule::ImageSize;
 # find images bigger than 20x20
 my @images = find( file => image_x => '>20', image_y => '>20', in => '.' );

DESCRIPTION

Top

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.

->image_x( @sizes ) =head2 ->image_y( @sizes )

Match only things with their dimensions constrained by @sizes. The specification can be a relative, as implemented by Number::Compare.

AUTHOR

Top

Richard Clamp <richardc@unixbeard.net>, from an idea by Mark Fowler.

COPYRIGHT

Top

SEE ALSO

Top

File::Find::Rule, Number::Compare, Image::Size


File-Find-Rule-ImageSize documentation  | view source Contained in the File-Find-Rule-ImageSize distribution.