Haider Saleem
unread,Nov 1, 2021, 12:55:37 PM11/1/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android CameraX Discussion Group, Xi Zhang, Android CameraX Discussion Group, Haider Saleem
Yeah, so here's code
while saving image
val exif = ExifInterface(file!!.
absolutePath)
exif.flipVertically()
exif.saveAttributes()
and for flipping live preview
matrix.postScale(scale, -1F, centerX, centerY)
First image shows the live preview and the second shows the image saved in gallery.