Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /display/Documents/JHOVE 2 excursion taken on 2015-10-04. The original wiki at wiki.opf-labs.org is being decommissioned.

JHOVE 2 excursion

Added by Yvonne Friese · last edited by Yvonne Friese · on May 19, 2015 (view change)

JHOVE2 modules

JHOVE2 contains of the following modules:

JHOVE2 installation

tbc

JHOVE2 handling

JHOVE2 does not have any GUI. It is a command-line-tool only.

WARNING: JHOVE2 does not tolerate ANY empty spaces. The path should not have any empty spaces, so this would not work:

This does: (change to partend folder via "cd\")


Navigate via "cd" to the jhove2-directory. You can show all folders in the currently chosen folder via "dir".

Now you can get JHOVE2 to work.

The basic command is: "jhove2 -i -o"

Please consider that it is usually a good idea to give an output-file "-o", otherwise all the output will just be thrown into the black window, wich is very difficult to read as JHOVE2 is especially wordy.

An example for a whole command path is the following:

jhove2 -i -o output.txt C:\FileSample\image\TIFFs\ZBWTiffSample\003\00330024\00330024.TIF

I recommand to change the output to xml, as the txt-format is very difficult to read.

jhove2 jhove2 -i -d XML -o outtrim.xml C:\FileSample\image\TIFFs\ZBWTiffSample\003\00330024\00330024.TIF

Here are examples for the JHOVE2 output and the JHOVE output of the very same file. As the wordyness of JHOVE2 is almost unbelieveable (there is all the information in it one can possibly gather about room and time at the moment of the TIFF examination), it is even difficult to tell if the finding is "TIFF file valid" or "TIFF file not valid". JHOVE certainly thinks it is valid, JHOVE2, on the other hand, examines each TIFF Tag of validity.

To have a much better overview about what JHOVE2 actually critizises, please have a look at my customized xml + xslt sheet. The source code to trim the original xml output is here (I hope I will correct the still hard-coded path to the xml-output pretty soon :-) ).