peter-iakovlev / Telegram

Telegram Messenger for iOS
3.21k stars 855 forks source link

Telegram X: copied photo gets distorted #223

Open leshik opened 6 years ago

leshik commented 6 years ago

There is a case when a photo gets distorted while shared through Telegram X on iOS. Steps to reproduce:

  1. Take some photo in vertical orientation;
  2. Right in the camera, click on share -> copy;
  3. Paste it and send to some contact.

The photo will be rotated 90º CCW and squeezed. No issue if you select a photo from Photos library. ObjC version doesn't have this issue either.