DOKK / manpages / debian 12 / aaphoto / aaphoto.1.en
AAPHOTO(1) aaphoto AAPHOTO(1)

aaphoto - automatic color correction of photos

aaphoto [option[s]] [source file[s]]

Auto Adjust Photo is a tiny command-line image manipulation tool for automatic color correction of 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.

The following image types are supported (thanks to JasPer, JPEG and PNG):
mif, pnm / pgm / ppm, bmp, ras, jp2, jpc, jpg, png

Quality settings can be applied only to jp2, jpc, jpg formats

The following options are supported:

Print this help
Print version information
Auto adjust the colors of the image
Set output directory
Overwrite mode, the original source file is replaced
JPG image output
JPEG 2000 image output
PNG image output with alpha channel support
BMP image output
Resize image taking the longer side in % or pixels
Rotate image with 90 degrees clockwise
Rotate image with 180 degrees
Rotate image with 90 degrees counter-clockwise
Mirror image horizontally
Mirror image vertically
Save image without EXIF info
Set image quality from 1 to 100
Set number of working threads (default: autodetect)
Silent mode, no information printed during operation
Same as -s, --silent
Print verbose information about processing
Print detailed test information into image

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

- auto adjust parameter is set by default without any other parameters
- a _new filename will be generated without --overwrite parameter
- every file is processed on directory input but not recursively
- order of parameters does not matter
- resize value 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 by default
- number of threads is set to the number of online processors by default

Auto Adjust Photo
Copyright (C) 2006-2011 Andras Horvath
E-mail: - suggestions & feedbacks are welcome
URL: - the official site
Man page originally made by rezso (

The following libraries are used by this program:
libgomp - OpenMP for parallel programming,
libjasper - JasPer software,
libjpeg - IJG JPEG software,
libpng - PNG software,
libz - Compression library,

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

The full documentation for aaphoto is available on the website:

2011 aaphoto