log69 logo
blog
aaphoto
help
gallery
links
contact

lang
Auto Adjust Photo

Free and open source
Automatic photo adjusting software
Corrects the colors of the image with only one click and generates a new image file on the disk

Two main functions:
Automatic color correction and resizing

test image 1 arrow test image 1 adjusted
test image 2 arrow test image 2 adjusted
test image 3 arrow test image 3 adjusted

General description

The program tries to give a solution for the automatic color correction of photos. This means setting the contrast, color balance, saturation and gamma levels of the image by analization.

This can be a solution for those kind of users who are not able to manage and correct images with complicated graphical softwares, or just simply don't intend to spend a lot of time with manually correcting the images one-by-one.

The program handles the following image formats:
mif, pnm / pgm / ppm, bmp, ras, jp2, jpc, jpg, pgx, png

Menu extension on Windows platform:

menu screenshot

sample image


Download (click on the icon):

aaPhoto v0.33
aaRGB v0.60 (color-correction engine)
Last update = 10/01/2010
Changelog
download linux version Linux
305 kb
command-line
download windows version Windows
553 kb
in local menu
download mac version Mac OS X
280 kb
command-line
download freebsd version FreeBSD
297 kb
command-line
download solaris version Opensolaris
332 kb
command-line

download openbsd version OpenBSD
294 kb
command-line

Direct download links to only executables:
Linux i586 32 bit
Windows i586 32 bit
MacOSX PPC 32 bit
FreeBSD i586 32 bit
Opensolaris i586 32 bit
OpenBSD i586 32 bit

Source codes:
aaphoto_sources_all.tar.gz (development version)
aaphoto_sources.tar.gz (development version)
aaphoto_sources_v0.33.tar.gz
aaphoto_sources_v0.32.tar.gz
aaphoto_sources_v0.31.tar.gz
aaphoto_sources_v0.30.tar.gz
aaphoto_sources_v0.29.tar.gz
aaphoto_sources_v0.28.tar.gz
aaphoto_sources_v0.27.tar.gz
jpegsrc.v6b.tar.gz
jasper-1.900.1.tar.gz
zlib-1.2.3.tar.gz
libpng-1.2.29.tar.gz
SHA1SUMS

Debian / Ubuntu package:
aaphoto_0.33-1_i586.deb


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.

Usage
[HELP]
USAGE: aaphoto [options] [source files]
The following image types are supported (thanks to libjasper, libjpeg 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
-o --output *Set output directory
--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
--bmp *BMP image output
-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
--noexif *Save image without EXIF info
-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
--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 by default


Remarks:
- On Windows platform the program works suitably with administrative access rights regarding JPEG format images, the rest of the image formats work properly with limited user account too (the libjpeg component cannot load the JPEG images without administrative access rights for some reason, this applies to former versions too, solution is in progress)

- The only dependencies of the binaries are: libm and libc

- The program analyzes the histogram of the image and tries to set the most optimal black and white point of the image. Removes the veiled effect caused by the shifted colors, adjusts the color balance and saturation, and corrects the gamma factor.

- Main goal is simplicity - therefore no efforts are being made toward increasing the current functions in a huge way; there are already a plenty of well-known projects that are capable of the advanced functions and provide it for the users.

- aaRGB color-correction engine currently implemented to Irfanview image viewer
- Though Irfanview is not published under GPL license, I provide the right for usage by my own copyright

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