bufferapp / buffer-ios-image-viewer

The BFRImageViewer is a turnkey solution to present images within your iOS app 🎉!
MIT License
399 stars 55 forks source link

Image Rotate 180 angle #101

Open rahulve2020 opened 2 years ago

rahulve2020 commented 2 years ago

Hi, when there are any images uploaded from the photo gallery and try to preview using BFRImageViewController it rotates the image by 180 degrees angle

Screenshot 2022-08-08 at 5 13 38 PM

e

DreamingInBinary commented 2 years ago

Could you share some code on how you're presenting it? I'm not seeing that on my end.

rahulve2020 commented 2 years ago

BFRImageViewController *imageVC = [[BFRImageViewController alloc] initWithImageSource:@[media_url]]; imageVC.transitioningDelegate = self; [self presentViewController:imageVC animated:YES completion:nil];

danielgindi commented 1 month ago

The image probably has an EXIF tag that says "this image was taken upside down, rotate it for viewing", while this viewer does not support those tags