ICEpdf
  1. ICEpdf
  2. PDF-991

Migration from ICEpdf 4.3.4 to 6.1.0 Capture page quality

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 6.1
    • Fix Version/s: 6.4
    • Component/s: Imaging
    • Labels:
      None
    • Environment:
      Linux Mint 17.3 Cinnamon 64 bit, Java SE build 1.7.0_67 (64 bit)

      Description

      I try to migrate our project from ICEpdf-pro 4.3.4 to 6.1.0. I faced with capture document pages quality issue. Picture which was captured by v.6.1.0, has worse quality than it is for v.4.3.4. The both pictures have 100% zoom.

      If it is possible could you please give me some recommendations to fix it locally.
      1. source.pdf
        101 kB
        Aliaksandr Shynkevich
      1. page_6.1.0_zoom_1f.png
        81 kB
      2. page_4.3.4_zoom_1f.png
        123 kB

        Activity

        Hide
        Patrick Corless added a comment -

        ICEpdf 5 and higher eater no longer scales images by default. You can read up a little about this on http://www.icesoft.org/wiki/display/PDF/Imaging+Options . I would recommend you use the property -Dorg.icepdf.core.imageReference=smoothScaled to get a similar result to what you saw in 4.x

        Show
        Patrick Corless added a comment - ICEpdf 5 and higher eater no longer scales images by default. You can read up a little about this on http://www.icesoft.org/wiki/display/PDF/Imaging+Options . I would recommend you use the property -Dorg.icepdf.core.imageReference=smoothScaled to get a similar result to what you saw in 4.x
        Hide
        Aliaksandr Shynkevich added a comment -

        Thank you for the advice. I'll try it

        Show
        Aliaksandr Shynkevich added a comment - Thank you for the advice. I'll try it
        Hide
        Aliaksandr Shynkevich added a comment -

        It works great! Thank you for the help.

        Show
        Aliaksandr Shynkevich added a comment - It works great! Thank you for the help.
        Hide
        Aliaksandr Shynkevich added a comment - - edited

        Patrick, if I understand it properly I should set the properties like org.icepdf.core.imageReference globally for whole library. Is it possible to manage the properties for each document separately?
        (e.g. I need to process some PDF documents concurrently and change pictures quality depends on zoom)

        Show
        Aliaksandr Shynkevich added a comment - - edited Patrick, if I understand it properly I should set the properties like org.icepdf.core.imageReference globally for whole library. Is it possible to manage the properties for each document separately? (e.g. I need to process some PDF documents concurrently and change pictures quality depends on zoom)
        Hide
        Patrick Corless added a comment -

        That's correct, the system property will change the the behavior of the ImageReferenceFactory for the whole library. The ImageRefernceFactory is unfortunately a singleton, so you could change the type returned manually but not concurrently.

        Show
        Patrick Corless added a comment - That's correct, the system property will change the the behavior of the ImageReferenceFactory for the whole library. The ImageRefernceFactory is unfortunately a singleton, so you could change the type returned manually but not concurrently.
        Hide
        Aliaksandr Shynkevich added a comment -

        I see. So, are you planning to implement this managing properties possibility in the future?

        Show
        Aliaksandr Shynkevich added a comment - I see. So, are you planning to implement this managing properties possibility in the future?
        Hide
        Patrick Corless added a comment -

        Possibly, we haven't had a lot of push for this but we could keep it factory but have an instance for each document.

        Show
        Patrick Corless added a comment - Possibly, we haven't had a lot of push for this but we could keep it factory but have an instance for each document.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Aliaksandr Shynkevich
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: