Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-4019

Animated gif embedded in msg email triggers gifToPix exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Docker image "apache/tika:latest-full"

    Description

      I get many of these errors:

      org.apache.tika.exception.TikaException: TesseractOCRParser bad exit value 1 err msg: Error in gifToPix: failed to read GIF data
      Error in pixReadStreamGif: failed to read gif from file data
      Error in pixReadStream: gif: no pix returned
      Error in pixRead: pix not read
      Error during processing.
      at org.apache.tika.parser.ocr.TesseractOCRParser.runOCRProcess(TesseractOCRParser.java:458)
      at org.apache.tika.parser.ocr.TesseractOCRParser.doOCR(TesseractOCRParser.java:412)
      ...etc...

      The common theme among all of the files producing these errors is that they are Outlook msg files with embedded animated gifs.

      I looked at opening a ticket for Tesseract but I recall their site said something like please open a ticket with the software that uses Tesseract first in case it's a configuration problem or something.

      Any which way, I think animated gifs should just be ignored. I get hundreds of these errors.

      Thank you. Good luck.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adjenks adjenks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: