BMPImageReader.java readColorPalette could use staggeredReadByteStream

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 11, 17, 19, 20, 21
    • Component/s: client-libs
    • None
    • b03
    • generic
    • generic

      Looks like the coding in jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/bmp/BMPImageReader.java readColorPalette is rather close to what staggeredReadByteStream does, so we could instead use staggeredReadByteStream and do not duplicate the coding.

            Assignee:
            Matthias Baesken
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: