ICEpdf
  1. ICEpdf
  2. PDF-420

getPageImage() producting black boxes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.3.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      ICEpdf PRO 4.3.2, ICEpdf 4.3.0, Java Version 1.6.0_26, 1.6.0_25

      Description

      Images generated from the attached PDF using getPageImage() are producing black boxes on pages 3 and 4. Image and pdf are attached.

        Activity

        Evgheni Sadovoi created issue -
        Evgheni Sadovoi made changes -
        Field Original Value New Value
        Attachment Utilizing New Technologies to Create Conducive CRM.pdf [ 14287 ]
        Evgheni Sadovoi made changes -
        Attachment Image 1.png [ 14288 ]
        Evgheni Sadovoi made changes -
        Environment ICEpdf PRO 4.3.2 ICEpdf PRO 4.3.2, ICEpdf 4.3.0, Java Version 1.6.0_26, 1.6.0_25
        Salesforce Case [5007000000LGrrS]
        Patrick Corless made changes -
        Fix Version/s 4.3.3 [ 10333 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28800 Tue Apr 24 13:24:57 MDT 2012 patrick.corless PDF-420 removed compositing rule that set DST_OUT to SRC_OUT if the alpha value was zero.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/ContentParser.java
        Hide
        Patrick Corless added a comment -

        Took me a while to isolate this issue but eventually found that there where rectangles being drawn with an alpha value of zero. In the content parser we had a special condition where we changed the compositing rule from DST_OUT to SRC_OUT if the alpha value was zero. I can think of a good reason as to why this would be the case and can only assume that this was added to try and address some partial support for transparency groups.

        A user on the forums, http://jforum.icesoft.org/JForum/posts/list/0/20803.page also came to the same conclusion which is interesting. I'll make the change the let QA decide if its valid.

        Show
        Patrick Corless added a comment - Took me a while to isolate this issue but eventually found that there where rectangles being drawn with an alpha value of zero. In the content parser we had a special condition where we changed the compositing rule from DST_OUT to SRC_OUT if the alpha value was zero. I can think of a good reason as to why this would be the case and can only assume that this was added to try and address some partial support for transparency groups. A user on the forums, http://jforum.icesoft.org/JForum/posts/list/0/20803.page also came to the same conclusion which is interesting. I'll make the change the let QA decide if its valid.
        Hide
        Patrick Corless added a comment -

        Marking as resolved.

        Show
        Patrick Corless added a comment - Marking as resolved.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: