Fotoxx: Image editor/viewer

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#61 Post by muggins »

@outtaspam,

I wonder whether it's just a missing symlink...can you try just running fotoxx, in a console, and see if it gives more details?

User avatar
gulk
Posts: 86
Joined: Mon 21 Apr 2008, 19:04

#62 Post by gulk »

muggins wrote: I wonder whether it's just a missing symlink...can you try just running fotoxx, in a console, and see if it gives more details?
Same issue here. Running 9.2 from console gives:

Code: Select all

fotoxx v.9.2  2010.01.01
language: en_US 
using 1 threads 
FreeImage 3.11.0 
exiftool sh: exiftool: command not found
ufraw: error while loading shared libraries: libexiv2.so.2: cannot open shared object file: No such file or directory
sh: printoxx: command not found
sh: /usr/bin/printoxx: No such file or directory
Regards and thanks for the pet.

[EDIT] (and solved... sorry muggins, I don't know how to read clearly explained posts...)
Sooooooo... to have fotoxx and ufraw working properly on puppy 4.2.1, here is what I had to install:
- libexiv (from http://murga-linux.com/puppy/viewtopic. ... h&id=10229) (not standard on puppy 4.2.1)
- libgtkimageview-1.6.1.pet (from http://www.murga-linux.com/puppy/viewtopic.php?t=31881)
- ufraw-0.16-i486.pet (from http://www.murga-linux.com/puppy/viewtopic.php?t=31881) (muggins, your main post points to version 0.15, which does not exist anymore)
- FreeImage-3.11.0-i486.pet (from page 1 of this thread)
- fotoxx-9.2-i486.pet (from page 1 of this thread)

Sorry again :oops:

tubby
Posts: 317
Joined: Sat 24 Jan 2009, 15:49

#63 Post by tubby »

Your pet loads and works ok in puppy431 but the missing exif popup appears in my debian puppy, i compiled the missing printoxx and it is recognized as loading in terminal. I cannot test if it works as i do not have a printer connected.

stumpii
Posts: 4
Joined: Sat 18 Jul 2009, 12:02
Location: Scotland

exiftool problem in dpup 482 b5

#64 Post by stumpii »

fotoxx pet runs well but i also have the problem with exif tool not loading, typing exiftool in console gives this output

# exiftool
Can't locate Image/ExifTool.pm in @INC (@INC contains: /usr/bin/lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/exiftool line 26.
BEGIN failed--compilation aborted at /usr/bin/exiftool line 26.
#

Exiftool-7.72-i486, Freeimage-3.11.0-i486 and ufraw-0.15-i486 were all installed prior to installing Fottox

Not too sure what the console output means but it may help someone.

User avatar
gulk
Posts: 86
Joined: Mon 21 Apr 2008, 19:04

#65 Post by gulk »

Arf... I must be really distracted...

It is as muggins said, a symlink is missing.

After installing libexiv (from http://murga-linux.com/puppy/viewtopic. ... h&id=10229), please type in a terminal:

Code: Select all

ln -s /usr/lib/libexiv2.so.0.1.0 /usr/lib/libexiv2.so.2
This will create the missing symlink and everything should work after that.

stumpii
Posts: 4
Joined: Sat 18 Jul 2009, 12:02
Location: Scotland

#66 Post by stumpii »

Hi gulk, here is the output

Code: Select all

# ln -s /usr/lib/libexiv2.so.0.1.0 /usr/lib/libexiv2.so.2
ln: creating symbolic link `/usr/lib/libexiv2.so.2': File exists




then running fotoxx i get

Code: Select all

# fotoxx
fotoxx v.9.2  2010.01.01
language: en_GB
using 1 threads
FreeImage 3.11.0
exiftool Can't locate Image/ExifTool.pm in @INC (@INC contains: /usr/bin/lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/exiftool line 26.
BEGIN failed--compilation aborted at /usr/bin/exiftool line 26.
ufraw 0.15
EXIV2 0.16
JPEG enabled.
TIFF enabled.
FITS disabled.
ZIP enabled.
printoxx v.2.1.2  2009.12.18
Maybe it is a dpup issue ?

stumpii
Posts: 4
Joined: Sat 18 Jul 2009, 12:02
Location: Scotland

#67 Post by stumpii »

Hi guys I have been fiddling about with this all weekend and i think i have a solution
( purists be gentle as this may not be the proper way to do it)
I downloaded the exiftool tar from
http://www.sno.phy.queensu.ca/~phil/exi ... .00.tar.gz
extracted it and copied the lib file to usr/bin.
In terminal i now get

Code: Select all

# exiftool
Syntax:  exiftool [OPTIONS] FILE

Consult the exiftool documentation for a full list of options.
#
But i no longer get the annoying dialogue box when fotoxx starts or when saving files, and exiftool now works, i will put this one down to beginners luck.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#68 Post by muggins »

Uploaded v9.4.
fotoxx v.9.4
+ Image files can now be printed using a conventional GTK dialog.
+ File save-as: the displayed file type is updated with user selection.
+ Brightness/color (curve edit) dialog was made more compact.
+ Bugfix: killing a running function could cause malfunctions later.

fotoxx 9.3

o New function: image warp using affine transformation, interactive.
o New function: vary brightness across the image (fix vignetting and other issues).
o Improved the initial blending for 3 or more HDR input images.
o Brightness histogram was given greater resolution and a new x-axis scale.
o Rotate was made 3x faster (use affine transform instead of trig functions).
o File save-as dialog was made more clear about file type.
o Makefile: desktop-menu and manpage made into separate targets.
Regarding the annoying popup, about missing exiftool, the .pet was always available from the first post...but I've modified it to make it a bit clearer...I hope.

ExifTool-7.72-i486.pet

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#69 Post by muggins »

Uploaded v9.5.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#70 Post by muggins »

Uploaded v9.6.
fotoxx 9.6
DateFeb 21, 2010 at 17:54

+ Tone mapping: calculations have been made >10x faster.
+ Sharpen (unsharp mask): calculations have been made 2x faster.
+ A fourth tone-mapping method was added.
+ Convert RAW files: don't let progress window hide behind main window.
+ Workaround for gtk_file_chooser bug: undo auto-selection of 1st file in a folder.
+ Gallery window: simplify navigation to another folder.
+ Use .jpeg instead of .png for intermediate print file - much faster.
+ Select area logic was simplified in preparation for future add/subtract areas.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#71 Post by muggins »

Uploaded v9.7.
2010.03.05 v.9.7
+ Revise window update logic to stop CPU hog with fvwm window manager.
+ Curve edit: don't lose grip on node when dragging at high speed.
+ Select area: simpler and more flexible interface, multiple areas,
combine line-drawing and color selection, unselect parts of areas.
+ Paste area: always paste within the visible window, don't lose
grip when dragging a pasted area at high speed.
+ Bugfix: burn CD/DVD: when editing the list of files to burn, the
mouse position was inaccurate, causing wrong file to be selected.
+ Limits for number and and size of tags were doubled.
+ New function: add multiple tags to many images at once
(e.g. for the initial tagging of many photos of the same subject).
+ New function: rename many files at once using base name + sequence no.

stumpii
Posts: 4
Joined: Sat 18 Jul 2009, 12:02
Location: Scotland

Fotoxx v9.7

#72 Post by stumpii »

just downloaded v9.7
impressed with the batch rename function :D

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#73 Post by technosaurus »

I compiled against static freeimage if anyone wants to try it out. It saves a few hundred kb this way and is usually faster, though I didn't try the shared version.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#74 Post by muggins »

Uploaded v9.8.
fotoxx 9.8
DateMar 19, 2010 at 16:35

* Tone mapping: a gradient method was added, replacing a weaker method.
* The FreeImage dependency was removed, which simplifies building from source and creating packages. Supported file types are TIFF (1/8/16 bits/color), JPEG, PNG, and BMP.
* A 3rd sharpen method was added: amplify brightness gradients.
* Bugfix: F1 context help was not working for the select area dialog.
* The select area outline color can be toggled red/green/black.
N.B. Please note that FreeImage is no longer required.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#75 Post by technosaurus »

I patched the source to move the exif warning to the save dialogs -see note in attachment section

Running this code at the command line should build the fotoxx binary all at once and optimized for size with prefix=/usr

Code: Select all

g++ -pipe -combine -Os -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -fomit-frame-pointer -fmerge-all-constants -mpreferred-stack-boundary=2 -march=i386 -mtune=i686 -Wl,-O4,-Os,-relax,--sort-common,--gc-sections,--as-needed,-s  -Wall `pkg-config --cflags gtk+-2.0 gthread-2.0` -o fotoxx fotoxx-9.8.cpp zfuncs.cpp -D "DATADIR=\"/usr/share/fotoxx\"" -D "DOCDIR=\"/usr/share/fotoxx\"" -D "BINDIR=\"/usr/bin\"" `pkg-config --libs gtk+-2.0 gthread-2.0` -ltiff

This is the default config in the same way

Code: Select all

g++ -O3 `pkg-config --cflags gtk+-2.0 gthread-2.0` -o fotoxx fotoxx-9.8.cpp zfuncs.cpp -D "DATADIR=\"/usr/local/share/fotoxx\"" -D "DOCDIR=\"/usr/local/share/fotoxx\"" -D "BINDIR=\"/usr/local/bin\"" `pkg-config --libs gtk+-2.0 gthread-2.0` -ltiff
Note: compiling like this allows the compiler to eliminate code across multiple files that it could not if it builds objects first
Attachments
fotoxx-9.8-i486.pet
shifted the exif warning to the save dialogs
save to same file gives warning and returns without saving
save to new file gives warning and allows save - you can still pick the same file, but exif data is still lost
(166.92 KiB) Downloaded 910 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#76 Post by technosaurus »

Here is the patch:

Use

Code: Select all

patch fotoxx-9.8.cpp fotoxx_move_exif_warning.patch
Any thoughts on how this compares to viewnor as a viewer?
Attachments
fotoxx_move_exif_warning.patch.gz
(750 Bytes) Downloaded 1138 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#77 Post by muggins »

Uploaded v9.8.1( with technosaurus's patch).

Technosaurus, I can't comment on viewnor as I haven't really used it...what are your impressions? Also, did you convey your patch to the developer, as he may be interested? Lastly, where did you dig up those g++ compile optimisations, as they certainly do make a diff?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#78 Post by technosaurus »

The optimizations are just regular size related optimizations (or speed that doesn't add size) from the gcc documentation - mostly referenced for embedded applications elsewhere, but Puppy is basically embedded x86.

I did send the patch in - the dev liked the idea but wants to do something different... give the warning once when any editing of the image is done. Unfortunately I didn't study the code enough to even attempt to help out with that. If I were going to put that much time into the code I would try to patch it to use libexif instead. Oh well - until then - the patch works for my needs.

Viewnior is the defaultimageviewer in Puppy 4.3.X and development has pretty much stopped. Although it is a nice viewer, it seems like Fotoxx would be a good option for smaller puplets to replace mtpaint and viewnior as both the viewer and editor.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#79 Post by muggins »

Thanks technosaurus. I've uploaded v9.9.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#80 Post by technosaurus »

I am impressed - here is the latest changelog - that was fast
fotoxx 9.9

Tonemap gradient method was made easier to use and a little faster. The earlier tonemap functions have been removed because the gradient method is stronger and more flexible than any of them.
Select Area copy and paste has been extended to allow areas to be saved as files and read back later to paste into other images.
Warn about missing program exiftool only when first image edit is initiated.
Bugfix: tonemap sometimes did not work within a selected area.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply