ICEpdf
  1. ICEpdf
  2. PDF-705

Smooth scaling tries to scale 0x0 images.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any
    • Salesforce Case Reference:

      Description

      The PDF in question contains several 1x1 images that when processed by the smoothScaled image reference results in an illegal argument exception when 0x0 gets passed as parameters. The root of the issue is that we do a 1x 0.99 and cast to an int which results in zero.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39464 Fri Dec 20 04:07:22 MST 2013 patrick.corless PDF-705 updated the scaling to avoid a around down to zero issue with small images.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/SmoothScaledImageReference.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: