Ive been trying to use the sanselan library for android to properly update my images rotation data but I cant get it to work. I was wondering if anybody on here has gotten this to work. Ive been on SO all day checking out answers to similar questions but nothing seemed to work yet. On both a galaxy s3 and motorola razor m I always get a landscape rotation embedded in the pic for some reason. Ive set the rotation property in the Parameters that I assign to my camera and everything but its still not working out. Does anyone have any idea, links, or examples on how they successfully manually updated the Exif data in an image in android?
Share
Some device, such as Galaxy S3, Note2 gives a rotated image. To get the image correctly
follow the steps belove:
If I see well, your problem comes out on step 2. If you try to update exif orientation, Sanselan will duplicate orientation attribute. So first of all, you have to remove the orientation values, and after add the value. I’ve worked out this way:
This article could help you in orientation value