Open cortices opened 4 years ago
Misskey rotates images to respect orientation. I checked the image with some orientation, but there was no problem.
@cortices Do you have a sample image where the problem occurs?
Re tested in the same site and same exact photos, and problem disappeared! very strange. Closing as I can't reproduce anymore.
I guessed that the feature of image compression removes rotation metadata. Could you try again?
@acid-chicken Just tested and you're right. The iOS image compression feature causes the rotation to be incorrect in any setting other than "Full Size" (original file). see the attached image. Left was uploaded with compression set to "Medium", right was uploaded with compression set to "Full Size". Right is the correct orientation. Does this mean it's an iOS bug?
đĄ Summary
When uploading an image to misskey web (v11.37.1), image rotation is ignored. iOS sets JPEG rotation metadata instead of rotating the pixels when taking photos in different orientations, and misskey appears to ignore & strip this metadata.
đ Expected Behavior
Image is uploaded and displays in the orientation shown in iOS Photos app and camera.
âšī¸ Actual Behavior
The image uploads and goes to a different orientation (the actual pixel orientation in JPEG file).
đ Steps to Reproduce
đ Environment
Web client, iOS.