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

            People

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

              Dates

              • Created:
                Updated: