ICEpdf
  1. ICEpdf
  2. PDF-464

xForm transparency group fails on large bbox

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 4.3.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      any
    • Workaround Description:
      use the system property org.icepdf.core.disableTransparencyGroup=true

      Description

      The xform transparency support will paint the xForm content stream to a buffered image if the graphics state contains an alpha value less then 1.0. The buffer that is created for this raster needs to be a fixed width and height which is derived from the xform's bbox. For some reason the bbox dimension defined in this document are huge and appear to be a side effect of some encoder that is is dropping in the integer max value instead of a limited size.

      I've added code to only create a raster if the bbox is a reasonable size, otherwise transparency is ignored the xform content stream is painted as per usual.

        Activity

        Hide
        Patrick Corless added a comment -

        Added check of the bbox size to make sure the raster can be creating without a problem. Marking as resolved.

        Show
        Patrick Corless added a comment - Added check of the bbox size to make sure the raster can be creating without a problem. Marking as resolved.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: