[x] I have searched open and closed issues for duplicates
[x] I am submitting a bug report for existing functionality that does not work as intended
[x] This isn't a feature request or a discussion topic
Bug description
When certain images are sent (namely FaceTime photos), the image glitches out and appears sideways. This happens on an iPad Pro 11" and an iPhone 14 Pro Max and 15 Pro Max, but not on a regular iPhone 11, so screen size may be a factor.
Steps to reproduce
Get a FaceTime photo (or use the known-problematic one under this list)
Send it in a Signal chat from the in-app photo picker (issue does not occur when sending from the share sheet)
If you cannot get a FaceTime photo yourself or yours does not reproduce the issue, download this zip file (uploaded as such to prevent GitHub from attempting to compress the image and possibly stopping it from reproducing the issue) to your iPhone, unzip it, save the image to your photo library, and send it from inside Signal (again, the share sheet is not affected by this issue).
Bug description
When certain images are sent (namely FaceTime photos), the image glitches out and appears sideways. This happens on an iPad Pro 11" and an iPhone 14 Pro Max and 15 Pro Max, but not on a regular iPhone 11, so screen size may be a factor.
Steps to reproduce
If you cannot get a FaceTime photo yourself or yours does not reproduce the issue, download this zip file (uploaded as such to prevent GitHub from attempting to compress the image and possibly stopping it from reproducing the issue) to your iPhone, unzip it, save the image to your photo library, and send it from inside Signal (again, the share sheet is not affected by this issue).
lp_image.heic.zip
Actual result: Image appears sideways with broken animation while opening it
Expected result: Image appears normal like all other images
Screenshots
https://github.com/signalapp/Signal-iOS/assets/93722725/3b3b7c81-7989-4fde-b2c4-3c06a7b01458
Device info
Device: iPhone 14 Pro Max, iPhone 15 Pro Max, 3rd generation 11-inch iPad Pro
iOS version: 17.5.1 Signal version: 7.15
Link to debug log
https://debuglogs.org/ios/7.15.0/37a2f56cdea864d17c430f13a1a0aae3cf10fbd1615458bc496ce1309e2593ec.zip