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

Numbers of source Raster bands and source color space components do not match

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21.0.2, 24, 25, 26
    • client-libs
    • None

      Works with 12 monkeys

      java ImageIObug
      com.sun.imageio.plugins.jpeg.JPEGImageReader
      Exception in thread "main" java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
      at java.desktop/java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:445)
      at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(JPEGImageReader.java:1426)
      at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
      at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1378)
      at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1162)
      at ImageIObug.main(ImageIObug.java:22)

        1. ImageIObug.java
          0.9 kB
          Simon Steiner
        2. srcRasterBands.jpg
          34 kB
          Simon Steiner

            jdv Jayathirth D V
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: