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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: