Include image metadata #10844
Labels
0. Needs triage
enhancement
feature: api 🛠️
OCS API for conversations, chats and participants
feature: upload & shares & voice 📤🎙️
Sharing files into a chat and audio recordings
Milestone
How to use GitHub
Is your feature request related to a problem? Please describe.
The metadata API will be public with Nextcloud 28: nextcloud/server#40676. It would be nice if we could include some metadata for images, e.g. width, height and maybe blurhash.
In talk-ios we need to calculate the height of the image preview based on the aspec ratio of that image. These information are currently only available after we requested a preview, not when we receive the corresponding chat message. If these information were included, we could immediately calculate the correct dimensions and prevent some "jumping" and reloading of the tableView. The blurhash would allow us to immediately display a preview and replace it, once we retrieved the correct preview from the server.
Describe alternatives you've considered
Keep it as is.
The text was updated successfully, but these errors were encountered: