ICEpdf
  1. ICEpdf
  2. PDF-1052

Unusually large xform object

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.2
    • Fix Version/s: 6.1.3
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      any

      Description

      The PDF in question 58050474e4b02929e7d6479f.pdf contains a xForm object that has an associated transparency group and thus we have to paint the xForm content to a raster so that we can derive the needed effect. The bounds for this xForm object is set the 2 to the power of 15 which makes for a very large image. We have code that detects for short number max value but for some reason this PDF has chosen a value that is a little less then max and the code that tries to correct the images size didn't get executed.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1.3 [ 13086 ]
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49438 Tue Nov 01 14:16:29 MDT 2016 patrick.corless PDF-1052 reduced the size of max image from 32,000 to 17000, probably still way to big but it's more of a trigger to use the parent bbox as a size which is usually way smaller anyways.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/FormDrawCmd.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49516 Tue Nov 08 12:40:18 MST 2016 patrick.corless PDF-1052 reduced the size of max image from 32,000 to 17000, probably still way to big but it's more of a trigger to use the parent bbox as a size which is usually way smaller anyways.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/FormDrawCmd.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: