ly.img.android.pesdk.backend.exif / Exify / readExif

readExif

open fun readExif(inFileName: String!, options: Int): Unit

Reads the exif tags from a file, clearing this ExifInterface object's existing exif tags.

Parameters

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

Exceptions

IOException -

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 );
      

Parameters

inStream - InputStream!: an InputStream containing a jpeg compressed image.

options - Int: bit flag which defines which type of tags to process, see Exify.Options

Exceptions

IOException -

open fun readExif(jpeg: ByteArray!, options: Int): Unit

Reads the exif tags from a byte array, clearing this ExifInterface object's existing exif tags.

Parameters

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

Exceptions

IOException -

See Also
#readExif(InputStream, int)