Class ThumbnailReader.UncompressedThumbnailReader

    • Field Detail

      • width

        private final int width
      • height

        private final int height
      • data

        private final byte[] data
      • offset

        private final int offset
    • Constructor Detail

      • UncompressedThumbnailReader

        public UncompressedThumbnailReader​(int width,
                                           int height,
                                           byte[] data)
      • UncompressedThumbnailReader

        public UncompressedThumbnailReader​(int width,
                                           int height,
                                           byte[] data,
                                           int offset)
    • 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