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

[TIFF] NULL BitsPerSample TIFF field for TYPE_BYTE_BINARY buffered image saved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • tbd
    • 9
    • client-libs

      Please run the attached test code (checking conformance of
      BufferedImage.getColorModel().getComponentSize() and TIFF data).

      The output will be:
      TYPE_INT_RGB [ 8 8 8 ] / [ 8 8 8 ]
      TYPE_INT_ARGB [ 8 8 8 8 ] / [ 8 8 8 8 ]
      TYPE_INT_ARGB_PRE [ 8 8 8 8 ] / [ 8 8 8 8 ]
      TYPE_INT_BGR [ 8 8 8 ] / [ 8 8 8 ]
      TYPE_3BYTE_BGR [ 8 8 8 ] / [ 8 8 8 ]
      TYPE_4BYTE_ABGR [ 8 8 8 8 ] / [ 8 8 8 8 ]
      TYPE_4BYTE_ABGR_PRE [ 8 8 8 8 ] / [ 8 8 8 8 ]
      TYPE_USHORT_565_RGB [ 8 8 8 ] / [ 8 8 8 ]
      TYPE_USHORT_555_RGB [ 8 8 8 ] / [ 8 8 8 ]
      TYPE_BYTE_GRAY [ 8 ] / [ 8 ]
      TYPE_USHORT_GRAY [ 16 ] / [ 16 ]
      TYPE_BYTE_BINARY [ 8 8 8 ] / NULL
      TYPE_BYTE_INDEXED [ 8 8 8 ] / [ 8 ]

      - NOK for TYPE_BYTE_BINARY

      JDK9 b111, OS: Windows 7

            bpb Brian Burkhalter
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: