White square in file viewer, a photo does not zoom
My friend and I share photos as files. My friend complains that sometimes photos are shown with a white square or space (in iphone) and he cannot zoom them.
white square in photo as file
screenshots:

download (without geotag): link
Correct photo as file
screenshot:
download (without geotag): link
Sorry for the small number of tests - I do not have an iOS device. π
I managed to get some more extra tests. All tests are done on iPhone 8. I deleted all geotags.
| size (kibibytes) | image resolution | white or ok | link |
|---|---|---|---|
| 6123 | 4032 * 3024 | white | link |
| 5209 | 4752 * 3168 | white | link |
| 4155 | 3024 * 2268 | white | link |
| 2291 | 3264 * 2448 | ok | link |
| 1026 | 1331 * 998 | ok | link |
| 192 | 4032 * 3024 | ok | link |
Perhaps a duplicate https://github.com/TelegramMessenger/Telegram-iOS/issues/150
Occurs also on most files sent between an iPhone XS and iPhone 11 Pro. We typically send both in-phone camera photos as well as external camera photos as files, and get this same bug
Caught this bug today.
Still happening on iPhone 12 Pro. Typically files over a certain threshold of MB
Same problem here on iPhone 12 Pro for jpegs that are over about 7MB in size and over about 10K pixels in width.
On the video below I first clicked on two images of smaller size (generated separately) and then tried viewing their two larger versions, which were shared as downloads.
https://user-images.githubusercontent.com/608862/109779827-438a9f80-7bfe-11eb-9d46-bcc1579c661b.mp4
The expectation is that they zoom in like in Photos app:
https://user-images.githubusercontent.com/608862/109780626-17bbe980-7bff-11eb-8103-67f27b9984b7.mp4
Example image (jpeg, 14688 Γ 13228px, 8,055,520 bytes):

Still happening on iPhone 8 Plus, caught it again today. The image file was weighing 3.5 MB.
Still happening on iPhone 13 and iPhone 15 Pro πΆβπ«οΈ