https://bz.apache.org/bugzilla/show_bug.cgi?id=60345

            Bug ID: 60345
           Summary: Handle corrupt PICT streams
           Product: POI
           Version: 3.16-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 34422
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34422&action=edit
gracefully handle truncated pict streams

Based on the example files in TIKA-2157 and TIKA-2130, I've tried to workaround
the truncated PICT streams, by first read as much as possible before the
deflated streams go corrupt and then when rendering (via PPTX2PNG) with the
help of the twelvemonkeys library, draw those images up to the truncation.

As this was only tested with the twelvemonkeys lib and I haven't tested, if
this would also solve TIKAs problem, I'm  providing the patch for further
discussion.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to