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

DataBuffer is randomly DataBufferUShort, always DataBufferByte on Java 8

XMLWordPrintable

    • 9
    • x86_64
    • linux

      A DESCRIPTION OF THE PROBLEM :
      FileImageInputStream imgStream = new FileImageInputStream(new File("1964004357~79d2147d.TIFF"));
      Iterator iter = ImageIO.getImageReaders(imgStream);
      while (iter.hasNext()) {
          ImageReader reader = (ImageReader) iter.next();
          reader.setInput(imgStream, false, false);
          BufferedImage image = reader.read(0, reader.getDefaultReadParam());
          System.out.println(image.getData().getDataBuffer());
          break;
      }


      FREQUENCY : occasionally


        1. 1964004357~79d2147d.TIFF
          60 kB
          Pardeep Sharma
        2. DataBufferTest.java
          0.8 kB
          Pardeep Sharma
        3. DataBufferTest2.java
          0.8 kB
          Pardeep Sharma

            jdv Jayathirth D V
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: