jhead - for Exif camera settings and embedded thumbnails

All non-XnView related: softwares, formats, imaging, photography...

Moderators: XnTriq, xnview

Post Reply
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

jhead - for Exif camera settings and embedded thumbnails

Post by Lesmo16 »

As long as xnView isn't able to perform EXIF operations on multiple files,
we can use jhead - Exif Jpeg camera setting parser and thumbnail remover.

It's Freeware and it's really mighty! 8)
Everyone who believes in telekinesis, raise my hand!
Tommy
Posts: 127
Joined: Sat Dec 03, 2005 8:59 am

Post by Tommy »

how does it work?
i downloaded jhead.exe but if i doubleclick on it nothing happens
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Post by Lesmo16 »

Tommy wrote:how does it work?
i downloaded jhead.exe but if i doubleclick on it nothing happens
The question is: "What do you want to do with your JPEG image(s)?"

:shock: JHead is a command line program, so doubleclicking on it won't help.
Please read the command line options and you'll find many many functions.
Everyone who believes in telekinesis, raise my hand!
Tommy
Posts: 127
Joined: Sat Dec 03, 2005 8:59 am

Post by Tommy »

i just want to erase all metadata from all the pictures inside a folder
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Post by Lesmo16 »

Tommy wrote:i just want to erase all metadata from all the pictures inside a folder
... and you didn't read the recommended stuff from the posted link! :(


jhead -option PathToYourFolder\*.jpg
  • -de Delete the Exif header entirely. This leaves comments in the comment section intact.
  • -dc Delete comment field from the JPEG header. Note that the comment is not part of the Exif header.
  • -du Delete sections of jpeg that are not Exif, not comment, and otherwise not contributing to the image either - such as data that photoshop might leave in the image.
  • -purejpg Delete all JPEG sections that aren't necessary for rendering the image. Strips any metadata that various applications may have left in the image. A combintion of the -de -dc and -du options.
Everyone who believes in telekinesis, raise my hand!
Tommy
Posts: 127
Joined: Sat Dec 03, 2005 8:59 am

Post by Tommy »

sorry for that...

by the way i tried JHead....
unfortunately i'm not very confident with command line appz.
i folowed the instructions and i was able to edit the metadata but the lack of a GUI makes everything difficult and time consuming.
i'm looking forward for the next 1.82 beta hoping they will implement the edit metadata in the browser window as well
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Post by Lesmo16 »

Version 2.5 released

Changes:

- Avoid duplicating exif header on some commands
- Fix up return codes
- Preserve file permissions and time when files are modified.
- Read ISO euqivalnt and white balance from canon makernote
- Added -rt (replace thumbnail) feature, and rotate the thumbnail also when using the -autorot feature
- Added -rgt (regenerate thumbnail) feature.
- Added -orp and -orl options


FYI, Matthias Wandel's (the author of jhead) comment about xnView:
XnView is an excellent free graphical image browser, cross platform. I use it mostly instead of Compupic nowadays. Unlike compupic, it makes use of jpeg thumbnails for the thumbnail view. On account of xnview, I added options to fix the thumbnails to jhead - this because copupic and jpegtran do not rotate the thumbail on doing lossless rotation, which can be annoying in Xnview.
HP: http://www.sentex.net/~mwandel/jhead/
DL: http://www.sentex.net/~mwandel/jhead/jhead.exe
Everyone who believes in telekinesis, raise my hand!
ckit
XnThusiast
Posts: 2446
Joined: Tue Feb 17, 2004 1:11 am
Contact:

Post by ckit »

SO whatever "jhead" can do, needs to be added to XnView and NConvert.
Am I correct?
XnViewMP 64bits and Windows 10 Pro x64 2004
PhotoFiltre Studio X
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Post by Lesmo16 »

Version 2.6 released

Changes:

- Fix typecast issue run itno with GCC 4
- Fix shutter speed display in '-c' mode for very long shutter speeds
- Fix some nitpicks from Debian folks
- Fix a bug in autorot when rotating filenames with spaces in them.
- Improved handling of corrupt exif linkages in exif header
- Added -a (rename associated files) options

HP: http://www.sentex.net/~mwandel/jhead/
DL: http://www.sentex.net/~mwandel/jhead/jhead.exe
Everyone who believes in telekinesis, raise my hand!
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Post by Lesmo16 »

Version 2.7 released

Changes:

- Remove maximum jpeg sections limit
- Added -ds option
- On clearing rotation, clear the image and the optinoal thumbnail rotation tags.
(some viewers use the wrong tag)
- Add -mkexif option to make a new exif header.

HP: http://www.sentex.net/~mwandel/jhead/
DL: http://www.sentex.net/~mwandel/jhead/jhead.exe
Everyone who believes in telekinesis, raise my hand!
Post Reply