### Summary We get the `Failed to rotate to image` error when trying to save the rotated or unrotated image at the **Edit Image** screen. ### Steps to reproduce 1. Try to upload any image 2. Click `Edit image` at the first step 3. Click `Save` either after rotating or before rotating the image 4. We'll be navigated back to **Upload Screen** ### Expected behaviour The rotated image should be shown at the **Upload Screen** without any errors. ### Actual behaviour `Failed to rotate to image` error shown when saving the image. Also, image preview not visible at the **Upload Screen**. ### Device name Pixel 9 Pro (Emulator) ### Android version Android 15 ### Commons app version latest main ### Device logs _No response_ ### Screenshots https://github.com/user-attachments/assets/f4ae87e0-f725-41ad-a7f1-4a35de694212 ### Would you like to work on the issue? Yes
Summary
We get the
Failed to rotate to imageerror when trying to save the rotated or unrotated image at the Edit Image screen.Steps to reproduce
Edit imageat the first stepSaveeither after rotating or before rotating the imageExpected behaviour
The rotated image should be shown at the Upload Screen without any errors.
Actual behaviour
Failed to rotate to imageerror shown when saving the image. Also, image preview not visible at the Upload Screen.Device name
Pixel 9 Pro (Emulator)
Android version
Android 15
Commons app version
latest main
Device logs
No response
Screenshots
Screen_recording_20260121_003247.webm
Would you like to work on the issue?
Yes