pull down to refresh
0 sats \ 5 replies \ @MaxAWebster OP 13 Dec 2023 \ on: Billy Goat Hill sanfrancisco
https://m.stacker.news/7962
@k00b is it possible to change the orientation of a photo when uploading?
This is a bug because we scrub metadata (which has orientation info) for privacy reasons.
@ekzyis is working on it?
In the meantime, someone mentioned that if you rotate the image 360 degrees, it preserves orientation.
reply
I would even say I am really close because using the library shouldn't be so hard
In the meantime, someone mentioned that if you rotate the image 360 degrees, it preserves orientation.
Yeah that works since old programs flip the literal raw bytes (inefficient), while newer programs just store it as metadata (efficient).
So if you flip the image with an older program which does not support reading or writing EXIF data and then upload, it should be fine.
Just FYI, in case it doesn't work. Classic forward compatibility issue.
I hope I used the word "forward compatibility" right because that's may be the first time I used it myself, lol
reply
Excellent - thanks, guys!
reply
No worries, I like to learn about stuff like this. All these specs and RFCs underlying our digital world, one should read all of them one day, lol :)
Sorry that it's still not fixed but I think I will be able to fix it in the next 6 hours
commits to it by saying it
reply
ok, missed the deadline, have to eat my words, but like one step is missing, lol
reply