Is there some way in Puppy to dsplay the EXIF information for a photo?

If not jhead (http://www.sentex.ca/~mwandel/jhead/) is a great tool at only 64kB. It's public domain, fast, comprehensive, etc.
The Ubuntu executable from the above site runs fine on Puppy 2. I added a script to call jhead in an xterm and made that script an option for photos in Rox so that I can see the photo info easily. (Rolling the mouse over the image would be a better way to do this but I can't see a way to get Rox to do that.)

In rox right click on a photo (eg file ending .jpg) and select Customise Menu. This opens a window on .config/rox.sourceforge.net/OpenWith/.image_jpeg in which you place symbolic links to files that you want to act upon photos. I have several, eg Rotate Right, Rotate Left, Photo Info, etc, each of which is a link to a script in my-applications/bin that, for the Photo Info case, looks like

Code:

#! /bin/sh
#
# Display EXIF data using jhead in a terminal window.
#

xterm -e jhead $@

I can't recall where I got jpegtran but it's probably part of the image-magick.pup thatI install as standard. Great tool set for everything to do with images.
The guy who wrote jhead put a lot of work into it in my opinion yet regards his effort as too trivial to apply a licence to (other than marking it as public domain).

exiftags has more to say than jhead, and exifcom can edit exif UserComment tags as long as they already exist (they don't in photos from either our panasonic or fuji cameras). jhead can't, but can edit the jpeg comments, which are separate from the exif data.

It is not compiled for Puppy. I got a compile error, so I installed the Slackware 10.2 package from linuxfiles.net, because I looked on the Slackware distrowatch page for the same kernel version as I have as I thought that would find me a slackware of the same era, so it would likely work for me. I can't post a direct link, but it is eay to find.

It works in Puppy 1, but I think it would most likely work in any newer Puppy as well.

See, I'm not into reimplementing Unix - I have neither time, nor the inclination. And every action which isn't integral to image editing, and can be safely offloaded to some other program, will be offloaded - an entry in "File->Actions" is the most I'll ever do about any such thing. This is true for printing, and equally true for EXIF.
mtPaint 3.20 has a preconfigured action for EXIF display - it depends on 'exif' tool from here - and 'leafpad' to actually display what 'exif' spits out. To use something else for the purpose, use "File->Actions->Configure" to change the corresponding command line.

With the shell script of jeffrey I couldn't see the info: the console closed very quickly. The script I'm usign, that works, is:

Code:

#! /bin/sh

xterm -hold -e exiftags $@

I've put this code in a new file called exif_show, located in ~/my-applications/bin (~ is like /root). After creating it I've given it the execution permissions (right click -> File .... -> Permissions -> a+x ...... -> Yes).

After downloading exiftags I've moved it to /usr/local/bin . I've had to give it also the execution permissions, the way told above.

I've gone to ~/.config/rox.sourceforge.net/OpenWith (you have to show hidden files to see .config in ~ or /root -you can click the eye of the ROX-Filer for that-) (a quick way to reach this folder is to right click on a file while holding shift -> Customise -> OK). Inside I've created a folder called .image (becomes hidden also). Inside I've created a symbolic link to exif_show, by dragging this file while holding Ctrl and Shift at the same time. This way when I right click on an image -> File ... -> Open With... -> I have exif_show at top -> if I click it I see the EXIF data. A quicker way is to right click on the image while holding shift -> click exif_show.

Comments:

1) In Windows if you right click on an image and then in Properties you have this info. But in Puppy if you right click on the image and then in File .... -> Properties it doesn't appear. That's why I've had to do the stated above.

2) Fotoxx is an useful program to see many images that comes with Puppy (it's in the Graphic menu). It has a EXIF button above, in the toolbar. But this data (I think that it comes from /usr/bin/exiv2) doesn't show the main details.

Though the achieved is quite good there are still 2 problems:

a) The width and the height given by exiftags is not correct. It shows more pixels than the real ones (the ones shown by mtPaint, Fotoxx, ...). Provisional solution: use mtPaint or Fotoxx to see the correct details (shown at the bottom, on the left).

b) It's not possible to get the details of an image with a (white or blank) space in its path (in any directory or in the image name itselft). Provisional solution: copy the file to another directory or folder.

For the couple of images I threw at it, the results were like this: both displayed _two_ width/height pairs, for one both were equal and correct, for the other, one correct and the other wrong.
Maybe the images with the wrong data had been resized by something that preserved EXIF tags, but had not adjusted them? Or, as in the second my testcase, adjusted one pair but not the other?

Quote:

b) It's not possible to get the details of an image with a (white or blank) space in its path (in any directory or in the image name itselft).

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum