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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: tbd_major
    • Component/s: client-libs
    • Labels:

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            bpb Brian Burkhalter
            Reporter:
            avstepan Alexander Stepanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: