| Author |
Message |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Tue 17 Jun 2008, 05:05 Post subject:
aaphoto - correct images in one click Subject description: Automatic command line Photo adjusting software |
|
*aaphoto*
http://dokupuppylinux.co.cc/programs:image_editor
- FREE Automatic command line Photo adjusting software
- Corrects the colors of image with only one click
- Simple and easy to use
- No need to install robust softwares
- Launches from local menu
- Generates a new image file on the disk
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Last edited by Dingo on Sun 07 Nov 2010, 09:00; edited 1 time in total
|
|
Back to top
|
|
 |
lapis
Joined: 02 Jun 2008 Posts: 185
|
Posted: Sun 07 Nov 2010, 06:17 Post subject:
|
|
Hi, I have appreciated this very useful little application which does automatic improvements on batches of photos.
However, the author has updated it quite a few times since and I am wondering if there is a newer version of this for Puppy. I tried the author's static binary but it does not work and displays "illegal operation".
Thanks
Some related info on this application:
| Quote: | - FREE Automatic command line Photo adjusting software
- Corrects the colors of image with only one click
- Simple and easy to use
- No need to install robust softwares
- Launches from local menu
- Generates a new image file on the disk |
http://www.murga-linux.com/puppy/viewtopic.php?t=30677
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Sun 07 Nov 2010, 08:51 Post subject:
|
|
I wonder whether you had a bad dload? I just tried running the latest version, using lupu-511, and:
| Code: | # ./aaphoto -v
Auto Adjust Photo
Copyright (C) 2006-2010 Andras Horvath
E-mail: mail@log69.com - suggestions & feedbacks are welcome
URL: http://log69.com - the official site
aaphoto (command-line) version - v0.39
aaRGB (color-correction engine) version - v0.62
last update = 14/09/2010
The following libraries are used by this program:
libgomp - OpenMP for parallel programming, http://gcc.gnu.org/onlinedocs/libgomp/
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/
[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/>. |
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Sun 07 Nov 2010, 11:28 Post subject:
|
|
may this be related to kernel version?
I also downloaded and same error has been shown
(tried in Puppy Linux 3.01 kernel 2.6.21.7))
I tried also to compile (in Puppy 4.3.1) but compilation fails. here the full log
| Code: | # ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for main in -lgomp... yes
checking for main in -ljasper... yes
checking for main in -ljpeg... yes
checking for main in -lm... yes
checking for main in -lpng... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for pow... yes
checking for sqrt... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
# make
make all-am
make[1]: Entering directory `/root/aaphoto-0.39'
gcc -DHAVE_CONFIG_H -I. -Wall -O2 -D__OPENMP__ -fopenmp -g -O2 -MT aaphoto.o -MD -MP -MF .deps/aaphoto.Tpo -c -o aaphoto.o aaphoto.c
mv -f .deps/aaphoto.Tpo .deps/aaphoto.Po
gcc -Wall -O2 -D__OPENMP__ -fopenmp -g -O2 -ljasper -ljpeg -lpng -lm -lgomp -o aaphoto aaphoto.o -lpng -lm -ljpeg -ljasper -lgomp
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-png.o): In function `png_calculate_crc':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/png.c:229: undefined reference to `crc32'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-png.o): In function `png_reset_crc':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/png.c:203: undefined reference to `crc32'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-png.o): In function `png_reset_zstream':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/png.c:761: undefined reference to `inflateReset'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngread.o): In function `png_read_destroy':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngread.c:1269: undefined reference to `inflateEnd'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngread.o): In function `png_read_row':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngread.c:720: undefined reference to `inflate'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngread.o): In function `png_read_init_3':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngread.c:294: undefined reference to `inflateInit_'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngread.o): In function `png_create_read_struct_2':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngread.c:140: undefined reference to `inflateInit_'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngwrite.o): In function `png_write_destroy':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwrite.c:1058: undefined reference to `deflateEnd'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngwrite.o): In function `png_write_flush':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwrite.c:945: undefined reference to `deflate'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngrutil.o): In function `png_decompress_chunk':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngrutil.c:205: undefined reference to `inflate'
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngrutil.c:319: undefined reference to `inflateReset'
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngrutil.c:212: undefined reference to `inflateReset'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngrutil.o): In function `png_read_finish_row':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngrutil.c:2943: undefined reference to `inflate'
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngrutil.c:2972: undefined reference to `inflateReset'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngwutil.o): In function `png_text_compress':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwutil.c:217: undefined reference to `deflate'
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwutil.c:272: undefined reference to `deflate'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngwutil.o): In function `png_write_compressed_data_out':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwutil.c:366: undefined reference to `deflateReset'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngwutil.o): In function `png_write_finish_row':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwutil.c:1903: undefined reference to `deflate'
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwutil.c:1931: undefined reference to `deflateReset'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngwutil.o): In function `png_write_filtered_row':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwutil.c:2748: undefined reference to `deflate'
/mnt/devx_431.sfs/usr/bin/../lib/gcc/i486-t2-linux-gnu/4.2.2/../../../libpng.a(libpng12_la-pngwutil.o): In function `png_write_IHDR':
/mnt/sdb3/sources-pup4/20090627/libpng-1.2.22.1/pngwutil.c:526: undefined reference to `deflateInit2_'
collect2: ld returned 1 exit status
make[1]: *** [aaphoto] Error 1
make[1]: Leaving directory `/root/aaphoto-0.39'
make: *** [all] Error 2 |
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
lapis
Joined: 02 Jun 2008 Posts: 185
|
Posted: Sun 07 Nov 2010, 12:24 Post subject:
|
|
| muggins wrote: | | I wonder whether you had a bad dload? I just tried running the latest version, using lupu-511 |
Hi muggins, I tried downloading it again: http://log69.com/downloads/aaphoto_linux.tar.gz
I tried running it in lupu 5.11 and 4.3.2 and wary 070 with pfix=ram. All gave me the illegal operation error.
I also tried the development version and same error.
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1757
|
Posted: Sun 07 Nov 2010, 13:00 Post subject:
|
|
"may this be related to kernel version?" -more likely related to glibc version.
The compiling errors indicate that the headers files for libpng are not bein found -there may also be isses with png version as libpng-1.4 has some API changes.
Bottom line is that the package will need to be compiled on a system compatible with the target system. You might search the forum -someone here has been making packages of aaphoto before and may have a compatible version for you.
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Tue 09 Nov 2010, 20:56 Post subject:
|
|
Finally I successfully compiled v. 0.40 of aaphoto, see:
http://www.murga-linux.com/puppy/viewtopic.php?p=465646#465646
it works in Puppy 3.01-4.3.x and hopefully in latest puppies
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
lapis
Joined: 02 Jun 2008 Posts: 185
|
Posted: Thu 11 Nov 2010, 03:36 Post subject:
|
|
| Dingo wrote: | | Finally I successfully compiled v. 0.40 of aaphoto |
Thank you very much, Dingo. Yours works well for me and my photos thank you too.
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6178 Location: Auckland, New Zealand
|
Posted: Thu 11 Nov 2010, 05:04 Post subject:
|
|
Does the --verbose option work for you in your 0.40 package?
In my puppy it causes the program to finish without doing anything...
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
lapis
Joined: 02 Jun 2008 Posts: 185
|
Posted: Thu 11 Nov 2010, 06:08 Post subject:
|
|
| disciple wrote: | | Does the --verbose option work for you in your 0.40 package? |
Hi, yes it works for me with verbose:
| Code: |
verbose mode on
available processors 1
requested threads 1
/mnt/sdc1/004_1a.jpg
loading
file exists
checking exif info
allocating memory for exif buffer
reading exif info
jpeg initializations
opening file for reading
decoding jpeg image
allocating memory for uncompressed bitmap image
dimension is 1536 x 1024 pixels
resolution is 1 x 1 with unknown type
colors have 24 bit depth
copying colors from jpeg object to bitmap buffer
freeing jpeg object
auto adjusting colors
(6) saving
(6) writing exif info 18011 bytes
(6) jpeg initializations
(6) opening file for writing
(6) encoding jpeg image
(6) copying colors from bitmap buffer to jpeg object
(7) freeing jpeg object
(7) freeing exif buffer
(7) freeing uncompressed bitmap buffer
(7) done
#
|
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6178 Location: Auckland, New Zealand
|
Posted: Thu 11 Nov 2010, 23:04 Post subject:
|
|
Thanks
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
|