pics_remove_small.pl - remove small images from a list of images.
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
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.
MANIFEST: pics_remove_small.pl PROJECT: meta VERSION: 0.15
pics_remove_small.pl [options]
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...).
display help message
display pod options snipplet
display manual page
quit without doing anything
run a gtk ui to get the parameters
show license and exit
show copyright and exit
show description and exit
show history and exit
should I be noisy ?
should I just fake it ?
should I display summary ?
minimum x size
minimum y size
what type of method to use ?
options: magick - use Image::Magick imagesize - use Image::Size
directory to scan
no free arguments are allowed
None.
Name: Mark Veltzer Email: mailto:veltzer@cpan.org WWW: http://www.veltzer.org CPAN id: VELTZER
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 0.11 MV move tests to modules 0.12 MV bring movie data 0.13 MV finish papers 0.14 MV teachers project 0.15 MV md5 issues
Image::Magick(3), Image::Size(3), Meta::Info::Enum(3), Meta::Utils::File::Iterator(3), Meta::Utils::File::Remove(3), Meta::Utils::Opts::Opts(3), Meta::Utils::Output(3), Meta::Utils::System(3), strict(3)
-add option to only produce of list of files to be removed.
To install Meta::Init, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Meta::Init
CPAN shell
perl -MCPAN -e shell install Meta::Init
For more information on module installation, please visit the detailed CPAN module installation guide.