Class IconResource

    • Constructor Detail

      • IconResource

        public IconResource​(MemBuffer buf)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getImageDataSize

        public int getImageDataSize()
        Description copied from class: BitmapResource
        Returns the uncompressed image data size. The default implementation will return the image data size specified by the header if non-zero, otherwize a computed data length will be returned based upon getHeight(), getWidth() and getBitCount().
        Overrides:
        getImageDataSize in class BitmapResource
        Returns:
        image data size
      • getMaskLength

        public int getMaskLength()
        Overrides:
        getMaskLength in class BitmapResource
        Returns:
        int size of mask section in bytes