*************************
*** Auto Adjust Photo ***
*************************
Copyright 2006-2009 Andras Horvath
E-mail: mail@log69.com - any suggestions & feedbacks are welcome
URL: www.log69.com - the official site
aaPhoto (command-line) version - v0.30
aaRGB (color-correction engine) version - v0.58
last update = 2009/02/22

The following libraries are used by this program:
libjpeg - IJG JPEG software, http://www.ijg.org/
libjasper - JasPer software, http://www.ece.uvic.ca/~mdadams/jasper/
libz - Compression library, http://www.zlib.net/
libpng - PNG software, http://www.libpng.org/

[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 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/>.

[DESCRIPTION]
Auto Adjust Photo is a small command-line image manipulation tool that allows the user to easily correct family photos. It tries to make the picture look better. The program does this by analyzing the input image and then sets the most optimal contrast, gamma, color balance and saturation for it. More details can be found at www.log69.com

[HELP]
USAGE: aaphoto [options] [source files]
The following image types are supported (thanks to JasPer and libpng):
mif, pnm / pgm / ppm, bmp, ras, jp2, jpc, jpg, pgx, png
Quality settings can be applied only to jp2, jpc, jpg formats
The following options are supported:
    -h   --help          Print this help
    -v   --version       Print version information
    -a   --autoadjust    *Auto adjust the colors of the image
         --overwrite     *Overwrite mode, the original source file is replaced
         --jpg           *JPEG image output
         --jp2           *JPEG 2000 image output
         --png           *PNG image output with alpha channel support
    -r   --resize        *Resize image with given value taking the longer side in % or pixels
         --rotate90      *Rotate image with 90 degrees clockwise
         --rotate180     *Rotate image with 180 degrees
         --rotate270     *Rotate image with 90 degrees counter-clockwise
         --flipx         *Mirror image horizontally
         --flipy         *Mirror image vertically
    -q   --quality       *Set image quality from 1 to 100
    -s   --silent        Silent mode, no information printed during operation
         --quiet         ...same as above
    -V   --verbose       Print verbose information about processing
         --speed         *Print extra speed information
         --test          *Print detailed test information into image

    * marked parameters need input file

EXAMPLES:
     aaphoto image.jpg
     aaphoto -a -r600 -q85 *.jpg
     aaphoto mydir
     aaphoto -V --resize70% image.png
     aaphoto --quality60 image.jp2

REMARKS:
- auto adjust parameter is set by default but only if no other parameters are given
- _new filename will be generated without --overwrite parameter
- on directory input every file will be processed in it but not recursively
- order of parameters does not matter
- resizing can be set in percentage too
- resize parameter should be less or equal than original
- resize uses the best (and slowest) resampling method
- default jpeg compression quality is 95%
- Exif information is restored in jpeg images

