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

ImagingOpException from ConvolveOp when input BufferedImage is TYPE_3BYTE_BGR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 1.4.2, 6
    • client-libs
    • None
    • 2d
    • b20
    • generic
    • generic, linux

      The attached test case calls ConvolveOp.filter() on a BufferedImage which
      is returned from ImageIO as TYPE_3BYTE_BGR. The test throws an exception as follows :

      java ConvolveOpTest
      Exception in thread "main" java.awt.image.ImagingOpException: Unable to convolve src image
              at java.awt.image.ConvolveOp.filter(ConvolveOp.java:180)
              at ConvolveOpTest.testConvolveIdentitySample(ConvolveOpTest.java:25)
              at ConvolveOpTest.main(ConvolveOpTest.java:9)

            bae Andrew Brygin
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: