jpgresize.pl - resizes JPG images
jpgresize.pl [-v] [-V] [-r] [-h] [-W <width>] [-H <height>] [-S <scale>] [--max_width=<max width>] [--max_height=<max height>] [--min_width=<min width>] [--min_height=<min height>] [-e <extenion>] [-d <directory>] <image1.jpg> [ | <image2.jpg> | ...]
jpgresize.pl resizes a couple of JPG images simultaniously. The following parameters are available:
Scales the image. If you neither set a -S option nor a -W or -H option, the default value -S 0.3 will be used. You must not set the -S and the -W / -H options together.
Sets the new width and height in pixels. You can retain image proportions by setting either the width or the height. You can change the proportions by setting both parameters. You must not set the -S and the -W / -H options together.
Sets the maximum height and the maximum width. The image resolution will not be greater than these values unless you set a greater value with the -W or -H option.
Sets the minimum height and the minimum width. The image resolution will not be smaller than these values unless you set a smaller value with the -W or -H option.
Sets the extension of the new images. Default is '_small' or '' in case, that the -d option is used.
The new images will be saved in this directory.
Prints a short help.
Redo option. By setting this parameter all files with the extension string in the filename will be ignored.
This script requires the following modules:
Florian Goslich: <firstname.lastname@example.org>
This program is Copyright 2009 by Florian Goslich. 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 3 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, see <http://www.gnu.org/licenses/>.