openpreserve / jhove

File validation and characterisation.
http://jhove.openpreservation.org
Other
171 stars 79 forks source link

option -r gives different status result #919

Open mingtz opened 8 months ago

mingtz commented 8 months ago

It seems that a -r option returns a different status result in some cases. Here, for the same tiff file, without any switches or -rs jhove reported the file is "Well-Formed, but not valid". But with -r, it reported the file is "Well-Formed and valid".

$ jhove -m TIFF-hul hou01987c00002__0001.tif | grep "Status" Status: Well-Formed, but not valid

$ jhove -m TIFF-hul -rs hou01987c00002__0001.tif | grep "Status" Status: Well-Formed, but not valid

$ jhove -m TIFF-hul -r hou01987c00002__0001.tif | grep "Status" Status: Well-Formed and valid

carlwilson commented 8 months ago

Thanks for reporting this; we will take a look and see if we can reproduce it. If we can't we will get back to you here.

carlwilson commented 3 months ago

@mingtz I've not been able to reproduce this behaviour on any TIFF files to hand. Is there any chance of sharing a copy of a file that exhibits this behaviour?