ly.img.android.pesdk.utils / BitmapFactoryUtils / getImageRotation

getImageRotation

open static fun getImageRotation(fileStream: InputStream!): Int

Get the orientation of the image file base on the exif information.

Parameters

fileStream - InputStream!: image stream.

Return
Int: angle in degree.

open static fun getImageRotation(filename: String!): Int

Get the orientation of the image file base on the exif information.

Parameters

filename - String!: image file path.

Return
Int: angle in degree.