Package org.jmrtd.lds

Interface ImageInfo

    • Method Detail

      • getMimeType

        String getMimeType()
        Gets the mime-type of the encoded image as a String.
        Returns:
        mime-type string
      • getWidth

        int getWidth()
        Gets the width of the image in pixels.
        Returns:
        image width
      • getHeight

        int getHeight()
        Gets the height of the image in pixels.
        Returns:
        image height
      • getRecordLength

        long getRecordLength()
        Gets the length of the total record (header and data) in bytes.
        Returns:
        the length of the record
      • getImageLength

        int getImageLength()
        Gets the length of the encoded image in bytes.
        Returns:
        the length of the image bytes
      • getImageInputStream

        InputStream getImageInputStream()
        Gets an input stream from which the image bytes can be read.
        Returns:
        image input stream