Class ThumbnailReader.IndexedThumbnailReader

    • Field Detail

      • width

        private final int width
      • height

        private final int height
      • palette

        private final byte[] palette
      • paletteOff

        private final int paletteOff
      • data

        private final byte[] data
      • dataOff

        private final int dataOff
    • Constructor Detail

      • IndexedThumbnailReader

        public IndexedThumbnailReader​(int width,
                                      int height,
                                      byte[] palette,
                                      int paletteOff,
                                      byte[] data,
                                      int dataOff)
    • Method Detail

      • read

        public java.awt.image.BufferedImage read()
                                          throws java.io.IOException
        Specified by:
        read in class ThumbnailReader
        Throws:
        java.io.IOException
      • getWidth

        public int getWidth()
                     throws java.io.IOException
        Specified by:
        getWidth in class ThumbnailReader
        Throws:
        java.io.IOException
      • getHeight

        public int getHeight()
                      throws java.io.IOException
        Specified by:
        getHeight in class ThumbnailReader
        Throws:
        java.io.IOException