NAME
pics_remove_small.pl - remove small images from a list of images.
COPYRIGHT
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
DETAILS
MANIFEST: pics_remove_small.pl
PROJECT: meta
VERSION: 0.10
SYNOPSIS
pics_remove_small.pl [options]
DESCRIPTION
Give this module a list of images and it will remove all images under a certail XxY size (either x or y counts). This module can work in 2 ways: 1. use the excellent Perl Magick library, create an image object for each image, get its size and take it from there. 2. use the Image::Size library from CPAN and just get the image size.
Method number 2 should be a lot faster since the image need not be read in full. In actual tests of 2000 images the second method (which is also the default) was found to be much faster (meaning more than 10 times faster...).
OPTIONS
- help (type: bool, default: 0)
-
display help message
- pod (type: bool, default: 0)
-
display pod options snipplet
- man (type: bool, default: 0)
-
display manual page
- quit (type: bool, default: 0)
-
quit without doing anything
- gtk (type: bool, default: 0)
-
run a gtk ui to get the parameters
- license (type: bool, default: 0)
-
show license and exit
- copyright (type: bool, default: 0)
-
show copyright and exit
- history (type: bool, default: 0)
-
show history and exit
- verbose (type: bool, default: 1)
-
should I be noisy ?
- demo (type: bool, default: 1)
-
should I just fake it ?
- summary (type: bool, default: 1)
-
should I display summary ?
- x (type: inte, default: 200)
-
minimum x size
- y (type: inte, default: 200)
-
minimum y size
- method (type: enum, default: imagesize)
-
what type of method to use ?
options [magick,imagesize]
minimum of [1] free arguments required no maximum limit on number of free arguments placed
BUGS
None.
AUTHOR
Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER
HISTORY
0.00 MV books XML into database
0.01 MV md5 project
0.02 MV database
0.03 MV perl module versions in files
0.04 MV movie stuff
0.05 MV thumbnail user interface
0.06 MV more thumbnail issues
0.07 MV website construction
0.08 MV improve the movie db xml
0.09 MV web site automation
0.10 MV SEE ALSO section fix
SEE ALSO
Image::Magick(3), Image::Size(3), Meta::Ds::Enum(3), Meta::Utils::File::Remove(3), Meta::Utils::Opts::Opts(3), Meta::Utils::Output(3), Meta::Utils::System(3), strict(3)
TODO
Nothing.