element-hq / element-hq/element-android
Cropped images appear to be sent with dimension info of the original
Open
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
When sharing an image and cropping it in the built-in editor, the image gets cropped properly but the event that gets sent seems to get the info.w and info.h properties seem to be set as in the original image, not the cropped one that is being sent. On RiotX, this results in a large empty box around the image in the image event, and on Web, the image gets stretched to the dimensions set in the event and thus looks off.
Steps to reproduce
1. Start sharing an image
2. Crop the image in the editor
3. Send it
Contributor guide
Assessment
This issue has not been assessed yet.