ICEpdf
  1. ICEpdf
  2. PDF-445

Border Showing on Embedded Image

    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: Viewer RI
    • Labels:
      None
    • Environment:
      java 1.6
    • Workaround Description:
      -Dorg.icepdf.core.scaleImages=false

      Description

      We have pdf documents which use an image as as part of the header.
      In Adobe Reader the image displays without a border.
      In icepdf it shows a line at the end of the image and if our users print the pdf file (via icepdf) it also prints the line.
      Since these documents are sent to customers, our users can't use the icepdf java apps to print them.
      Instead they have to open them via Reader/Acrobat/... so the lines aren't printed.

      The image does not actually have a border, and that is not part of the markup of the pdf that I can tell.
      1. tkt-110242.pdf
        55 kB
        Nathan Ciliberto
      1. junk.gif
        44 kB

        Activity

        Hide
        Nathan Ciliberto added a comment -

        Here is an example pdf file which has an image at the top (as part of the header).

        I have also included a screenshot of how this shows via the ICEPdf viewer.

        Show
        Nathan Ciliberto added a comment - Here is an example pdf file which has an image at the top (as part of the header). I have also included a screenshot of how this shows via the ICEPdf viewer.
        Hide
        Patrick Corless added a comment -

        I would recommend turning off image scaling with the system property -Dorg.icepdf.core.scaleImages=false . On my system this addresses the black border on my system. .

        Show
        Patrick Corless added a comment - I would recommend turning off image scaling with the system property -Dorg.icepdf.core.scaleImages=false . On my system this addresses the black border on my system. .
        Hide
        Nathan Ciliberto added a comment -

        That seems to work for me too.
        Is there any downside to doing this?

        Show
        Nathan Ciliberto added a comment - That seems to work for me too. Is there any downside to doing this?
        Hide
        Patrick Corless added a comment -

        Not really, the page rendering will use slightly more memory but the overall render quality will be higher. The next release will likely have this properties disabled by default.

        Show
        Patrick Corless added a comment - Not really, the page rendering will use slightly more memory but the overall render quality will be higher. The next release will likely have this properties disabled by default.
        Hide
        Patrick Corless added a comment -

        Marking as resolved as the work around appears to address the rendering issue.

        Show
        Patrick Corless added a comment - Marking as resolved as the work around appears to address the rendering issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: