Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4091868

shear(1.0,1.0) of image throws ImagingOpException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 1.2.0
    • 1.2.0
    • client-libs
    • 2d
    • 1.2beta2
    • sparc
    • solaris_2.6
    • Verified

    Description

      I'm shearing an image repetitively, when (sx=1.0 & sy=1.0) and (sx=1.05 & sy=1.05) this exception is thrown :

      Exception occurred during event dispatching:
      java.awt.image.ImagingOpException: Unable to transform src image
              at java.awt.image.BilinearAffineTransformOp.filter(BilinearAffineTransformOp.java:65)
              at sun.java2d.SunGraphics2D.transformBufferedImage(SunGraphics2D.java:1750)
              at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:1874)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1395)
              at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:309)
              at sun.awt.image.TransformedGraphicsObserver.drawImage(TransformedGraphicsObserver.java:43)
              at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:647)
              at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:326)
              at tests.transforms.shear.update(shear.java:55)
              at java.awt.Component.dispatchEventImpl(Component.java:1880)
              at java.awt.Component.dispatchEvent(Component.java:1837)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)

      To reproduce the problem run the TestProduct :

      cd /home/lichtenw/JavaMedia/2d/TestProduct
      runnit

      Select the transforms/shear test.

      java full version "thanh:11/09/97-21:36"

      Attachments

        Issue Links

          Activity

            People

              jehung Jeannette Hung
              blichtensunw Brian Lichtenwalter (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: