You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2015/06/24 18:24:04 UTC

[jira] [Updated] (TIKA-1612) Exceptions getting image data in PPT files

     [ https://issues.apache.org/jira/browse/TIKA-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison updated TIKA-1612:
------------------------------
    Attachment: engine_monitoring.png
                image.bin

When I save the image as via PowerPoint, I get the engine_monitoring.png file.

When I call "getRawBytes", I get the image.bin file, which does look compressed but doesn't appear to have a header.

> Exceptions getting image data in PPT files
> ------------------------------------------
>
>                 Key: TIKA-1612
>                 URL: https://issues.apache.org/jira/browse/TIKA-1612
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Tim Allison
>            Priority: Minor
>         Attachments: 763469.ppt, engine_monitoring.png, image.bin
>
>
> In numerous (~500) ppt files in govdocs1, we're getting zip exceptions (unknown compression method, bad block, etc) when Tika's HSLFExtractor calls {{getData()}} on an embedded image.
> Under normal circumstances (I just learned today...), if an attachment causes a RuntimeException, we are currently swallowing that in {{ParsingEmbeddedDocumentExtractor}}.
> However, because we're calling {{getData()}} before the embedded extractor takes over, if there is an exception there, the parse of the entire file fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)