Back

getFilePreview doesn’t take into account exif rotation and returns rotated images

  • 0
  • Self Hosted
  • Storage
punti_z
22 May, 2024, 23:36

I saw on GitHub this issue apparently was fixed back in 2022 but I still see it happening. Just uploading any jpg image that has exif rotation to storage. You will notice the image is previewed incorrectly and getFilePreview returns incorrectly rotated images.

Anyone has a workaround or fix ?

https://github.com/appwrite/appwrite/issues/2696

TL;DR
Issue: Uploaded jpg images with exif rotation are previewed incorrectly and getFilePreview returns rotated images. Developers have noticed that despite the issue being marked as fixed, it still persists. If you encounter this problem, try to find a workaround or fix it by checking the latest updates and comments on the GitHub issue page: https://github.com/appwrite/appwrite/issues/2696
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more