open static fun getImageRotation(fileStream: InputStream!): Int
Get the orientation of the image file base on the exif information.
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.
filename
- String!: image file path.
Return
Int: angle in degree.