"checkit_tiff" is an incredibly fast conformance checker for baseline TIFFs (with various extensions), see http://andreas-romeyke.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.1 KiB

4 years ago
3 years ago
3 years ago
  1. General
  2. =======
  3. "checkit_tiff" is a conformance checker for baseline TIFFs (with various
  4. extensions). It works in different way than other tools. Instead to use a
  5. hardcoded rule set with predefined values, you are able to define tags and
  6. corresponding values more fine granulary. The rulesets are human readable and
  7. could be adapted to own needs.
  8. The "checkit_tiff" works on commandline and therefore it is embeddable in scripts
  9. The tools are developed for purposes of curation and longterm preservation
  10. In detail
  11. =========
  12. checkit_tiff:
  13. - checks a TIFF against ruleset
  14. - needs a Linux or an AIX system with installed libtiff4
  15. (crosscompiling to Windows should work, too)
  16. - to compile, please read README.compile
  17. - help comes with option "checkit_tiff -h"
  18. License
  19. =======
  20. the sourcecode is licensed under conditions of libtiff, see http://libtiff.maptools.org for details.
  21. HINTS
  22. =====
  23. * The program could already be used to check TIFF-files now
  24. * Remember, it is in alpha-state and needs additional rules to validate tiff files completely.
  25. * Please, if you find errors or do you have test files like
  26. ** https://github.com/EasyinnovaSL/DPFManager/tree/develop/src/test/resources/
  27. ** or https://github.com/openpreserve/jhove/tree/junit_tests/examples/tiff/badfiles
  28. * please do not hesitate to contact me.
  29. * to *repair* TIFFs, you could give "fixit_tiff" a try: https://github.com/SLUB-digitalpreservation/fixit_tiff
  30. == Compile ==
  31. see file 'README.compile' for details, in short:
  32. == Run ==
  33. Use the builtin help via './checkit_tiff -h'
  34. Here is an example output using
  35. $> checkit_tiff -q example_configs/cit_tiff6_baseline_SLUB.cfg tiffs_should_fail/invalid_date.tiff
  36. './build/checkit_tiff' version: development
  37. revision: 393
  38. licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
  39. cfg_file=example_configs/cit_tiff6_baseline_SLUB.cfg
  40. tiff file/dir=tiffs_should_fail/invalid_date.tiff
  41. file: tiffs_should_fail/invalid_date.tiff
  42. (EE) tag 306 (DateTime) --> DateTime tag should contain a valid value. DateTime tag has wrong format.; found: 04.03.2010 09:59:17 (lineno: 146)
  43. (EE)Found 1 errors
  44. (EE)No, the given tif is not valid :(