exactimage:successful built - binaries not properly working

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

exactimage:successful built - binaries not properly working

#1 Post by Dingo »

Woof Woof!

this is a very strange thing

few days ago I tried to compile

*exactimage*
- http://www.exactcode.de/site/open_source/exactimage/

an imagemagick clone, but faster and lighter

I downloaded source
- http://dl.exactcode.de/oss/exact-image/ ... .3.tar.bz2
plus libagg (from debian)
- http://packages.debian.org/lenny/i386/l ... v/download

started compilation...

the binaries are built, and if I invoke the executable it seems working:

e.g :

Code: Select all

# edentify --help
Exact image identification (edentify).
Version 0.8.3 - Copyright (C) 2006 - 2007 by ExactCODE and Archivista
Usage:
  -f, --format
                user defined format string
  -h, --help
                display this help text and exit
  -v, --verbose
                more verbose output
but if I try to edentify an image:

Code: Select all

# edentify 1.jpg
edentify: unable to open image '1.jpg'.
even the image exists and it is not corrupted (since other programs can read without pain)

so, where is my fault?

I attach the full log and the binaries built, if you want give a look

*binaries built but not able to open any image* (for your test)
- http://www.ziddu.com/download/12487468/ ... 6.zip.html

exactimage is an important addon for Puppy, I hope this can be made properly

exactimage uses libs already in puppy for common tasks (libjpeg, libpng, libtiffd..and so on...), only for supporting jpeg2000 (in older puppies) or HDR images (openxr) may be worth compiling statically

exactimage can supporting also ruby, python...and so on, but these dependencies are optionally

in link I reported, you can view and download binaries I built. the strange thing, as written is that I can invoke a command, I can read help relative to program, but binaries are not able to open whatever image

even if (./configure) signals nothing about missing dependencies

since many many users are using Puppy 3-4.x.x series it is worth to trying to build for these series (not only grab the binaries from ubuntu lucid to use in Puppy Lucid)

between its utilities, exactimage has hocr2pdf a terrific tool able to merge a scanned pdf with its ocr result, producing so a searchable pdf
Attachments
log.zip
(1021 Bytes) Downloaded 358 times
Last edited by Dingo on Sun 13 Jul 2014, 00:51, edited 2 times in total.
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#2 Post by jpeps »

I got it working in lucid with:
http://packages.ubuntu.com/lucid/exactimage
libtiff4_3.9.2-2ubuntu0.3_i386.deb
libtiffxx0c2_3.9.2-2ubuntu0.3_i386.deb
libilmbase6_1.0.1-3build2_i386.deb
libIlmImf.so.6 (ln -s to libIlmImf.so.4)
libHalf.so.4
libIex-4.0.0
libIlmThread-4.0.0


~ $ edentify /usr/local/lib/X11/pixmaps/camera48.png
/usr/local/lib/X11/pixmaps/camera48.png: PNG 48x48 @ 89x89dpi (13x13mm) 32 bits, 4 channels

Edit: Should work without the last three packages, since libs are already in libilmbase. For some reason, they weren't seen initially, but
work now. (needs libIlmImf though)

Works in Lucid:
http://jpeters.net/apps/exactimage.pet

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#3 Post by 8-bit »

jpeps.

Does your Pet include the additional files you used to get exactimage to work?

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post by Flash »

Questions about compiling don't really belong in the Programming section, do they? I can move this thread to a more appropriate section if everyone agrees.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#5 Post by jpeps »

8-bit wrote:jpeps.

Does your Pet include the additional files you used to get exactimage to work?
Yes

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#6 Post by 8-bit »

Flash,

As I seem to recall from my early days, compiling is a part of programming.
Any source that requires compiling in any programming language should be OK to post in the Programming section as help is sometimes required in either the source or getting the source code to compile.

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#7 Post by Dingo »

Dear jeps

since you are running Puppy Lucid with exactimage installed from ubuntu packages

can you wrap exactimage with cde (as described [here)
download cde from here
https://github.com/downloads/pgbovine/C ... 1-13_32bit

type:

Code: Select all

cde econvert
cde edisplay
cde edentify
cde hocr2pdf
cde optimize2bw
cde empty-page
and a package cde-package will be created that (if I understand) can be run on nay x-386 PC regardless to dependencies /glibc

can you do this and uploading somewhere? thanks in advance
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#8 Post by jpeps »

Dingo wrote:Dear jeps

since you are running Puppy Lucid with exactimage installed from ubuntu packages

can you wrap exactimage with cde (as described [here)
download cde from here
https://github.com/downloads/pgbovine/C ... 1-13_32bit

type:

Code: Select all

cde econvert
cde edisplay
cde edentify
cde hocr2pdf
cde optimize2bw
cde empty-page
and a package cde-package will be created that (if I understand) can be run on nay x-386 PC regardless to dependencies /glibc

can you do this and uploading somewhere? thanks in advance
Interesting utility! edisplay wasn't included in the ubuntu package for some reason.
http://jpeters.net/apps/exactimage-cde.tar.gz

Flash: feel free to move this to wherever you feel appropriate

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#9 Post by 8-bit »

If one wanted to go further, you could make a GUI for exactimage/convert/edentify using gtkdialog3.
That would make it more user friendly to the average person.

I have used exactimage/convert from the command line to convert a jpg picture to a png and shrink it to 1/8 it's original size maintaining good quality and blazing speed on the conversion.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#10 Post by jpeps »

Hi 8-bit,
8-bit wrote:If one wanted to go further, you could make a GUI for exactimage/convert/edentify using gtkdialog3.
That would make it more user friendly to the average person.
People are already familiar with mtPaint, etc, which is quite complex.
Check out all the options..it could be a nightmare. Exactimage is more of an imagemagick clone.
I have used exactimage/convert from the command line to convert a jpg picture to a png and shrink it to 1/8 it's original size maintaining good quality and blazing speed on the conversion.
..because it's not a gui. It's also great for incorporating into personal scripts. I've got a "pix" script, for example, with lots of options for finding themes, edentifying, viewing, etc, etc.

Post Reply