open fun readExif(inFileName: String!, options: Int): Unit
Reads the exif tags from a file, clearing this ExifInterface object's existing exif tags.
inFileName
- String!: a string representing the filepath to jpeg file.
options
- Int: bit flag which defines which type of tags to process, see Exify.Options
See Also
#readExif(InputStream, int)
open fun readExif(inStream: InputStream!, options: Int): Unit
Reads the exif tags from an InputStream, clearing this ExifInterface object's existing exif tags.
ExifInterface exif = new ExifInterface();
exif.readExif( stream, Options.OPTION_IFD_0 | Options.OPTION_IFD_1 | Options.OPTION_IFD_EXIF );
...
// to request all the options use the OPTION_ALL bit mask
exif.readExif( stream, Options.OPTION_ALL );
inStream
- InputStream!: an InputStream containing a jpeg compressed image.
options
- Int: bit flag which defines which type of tags to process, see Exify.Options
open fun readExif(jpeg: ByteArray!, options: Int): Unit
Reads the exif tags from a byte array, clearing this ExifInterface object's existing exif tags.
jpeg
- ByteArray!: a byte array containing a jpeg compressed image.
options
- Int: bit flag which defines which type of tags to process, see Exify.Options
See Also
#readExif(InputStream, int)