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

readExif

fun readExif(inFileName: java.lang.String, options: int): void

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

Parameters

inFileName - java.lang.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)

fun readExif(inStream: java.io.InputStream, options: int): void

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 - java.io.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 -

fun readExif(jpeg: kotlin.Array<byte>, options: int): void

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

Parameters

jpeg - kotlin.Array<byte>: 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)