Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid TIFF tags in GT #38

Closed
bertsky opened this issue Aug 5, 2019 · 1 comment
Closed

invalid TIFF tags in GT #38

bertsky opened this issue Aug 5, 2019 · 1 comment
Assignees
Projects

Comments

@bertsky
Copy link
Contributor

bertsky commented Aug 5, 2019

Again, a report on GT issues (not assets):

In ...

...images have badly formatted tags, which cause ImageMagick to issue warnings:

identify estor_rechtsgelehrsamkeit02_1758.ocrd/data/OCR-D-IMG/OCR-D-IMG_0001 
estor_rechtsgelehrsamkeit02_1758.ocrd/data/OCR-D-IMG/OCR-D-IMG_0001 TIFF 1489x2526 1489x2526+0+0 8-bit sRGB 11.95MB 0.000u 0:00.000
identify-im6.q16: Incorrect value for "Photoshop"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify praetorius_verrichtung_1668.ocrd/data/OCR-D-IMG/OCR-D-IMG_0001 
praetorius_verrichtung_1668.ocrd/data/OCR-D-IMG/OCR-D-IMG_0001 TIFF 1240x1948 1240x1948+0+0 8-bit sRGB 7.247MB 0.000u 0:00.000
identify-im6.q16: Incorrect value for "Photoshop"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify justi_abhandlung01_1758.ocrd/data/OCR-D-IMG/OCR-D-IMG_0001 
justi_abhandlung01_1758.ocrd/data/OCR-D-IMG/OCR-D-IMG_0001 TIFF 1542x2386 1542x2386+0+0 8-bit sRGB 11.35MB 0.000u 0:00.010
identify-im6.q16: ASCII value for tag "DocumentName" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify-im6.q16: ASCII value for tag "ImageDescription" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify-im6.q16: ASCII value for tag "Make" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify-im6.q16: ASCII value for tag "PageName" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify-im6.q16: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify-im6.q16: ASCII value for tag "Artist" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.

See OCR-D/ocrd_olena#4 – this subsequently causes OLENA binarization to to fail with segfault!

Of course, our components should be robust against such problems. But given that OLENA is not maintained and OCR-D module projects are in the middle of final sprint, and you are going to re-publish GT bags anyway because of the other issues: Can you please fix this in the GT repo now?

@EEngl52 EEngl52 added this to Backlog in coordinate Aug 15, 2019
@bertsky
Copy link
Contributor Author

bertsky commented Aug 16, 2019

Closing because solved for OLENA via OCR-D/ocrd_olena#6.

@bertsky bertsky closed this as completed Aug 16, 2019
coordinate automation moved this from Backlog to Done Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
coordinate
  
Done
Development

No branches or pull requests

2 participants