ICEpdf
  1. ICEpdf
  2. PDF-421

Rotated images with shadow displayed incorrectly (pattern paint)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.2
    • Fix Version/s: None
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Windows 7, Java 6, MS Powerpoint 2010

      Description

      We've encountered problems when trying to convert PDF file to PNG images containing whole pages. When pages contained images which were both rotated and shadowed, they were rendered incorrectly (see attached PDF and renditions). PDF file was created using Microsoft Powerpoint 2010. Code used for creating images:

      Image image = document.getPageImage(pageNumber, GraphicsRenderingHints.SCREEN, Page.BOUNDARY_CROPBOX, 0f, 3.0f);

      Also changing GraphicsRenderingHints.SCREEN to GraphicsRenderingHints.PRINT parameter didn't change anything. Opening file in your PDF viewer caused the same issues. Please advise how to fix these problems or provide workaround for them.

      Exact version used: IcePDF Pro 4.3.2.
      1. test-wrong-image.pdf
        398 kB
        Federico Mera
      1. slide0.png
        380 kB
      2. slide1.png
        474 kB
      3. slide2.png
        938 kB

        Issue Links

          Activity

          Hide
          Patrick Corless added a comment -

          The paint issue is related to an issue with how we are setting up a pattern paint for painting.

          Show
          Patrick Corless added a comment - The paint issue is related to an issue with how we are setting up a pattern paint for painting.
          Hide
          Patrick Corless added a comment -

          Another pattern/tilling paint issue.

          Show
          Patrick Corless added a comment - Another pattern/tilling paint issue.
          Hide
          Federico Mera added a comment -

          When are you planning to fix this?

          Show
          Federico Mera added a comment - When are you planning to fix this?
          Hide
          Patrick Corless added a comment -

          Quite a bit of work was done on tiling patterns for 4.3.3 but it didn't address this document. There are still some problems with tiling patters that use a scaling factor.

          Show
          Patrick Corless added a comment - Quite a bit of work was done on tiling patterns for 4.3.3 but it didn't address this document. There are still some problems with tiling patters that use a scaling factor.

            People

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

              Dates

              • Created:
                Updated: