NAME

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

SYNOPSIS

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

DESCRIPTION

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

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

COPYRIGHT

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.

SEE ALSO

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