this post was submitted on 25 Jun 2023
10 points (100.0% liked)

Jerboa

10133 readers
1 users here now

Jerboa is a native-android client for Lemmy, built using the native android framework, Jetpack Compose.

Warning: You can submit issues, but between Lemmy and lemmy-ui, I probably won't have too much time to work on them. Learn jetpack compose like I did if you want to help make this app better.

Built With

Features

Installation / Releases

Support / Donate

Jerboa is made by Lemmy's developers, and is free, open-source software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project.

Crypto

Contact

founded 2 years ago
MODERATORS
 

As title questions. I've tried editing the photos before uploading. Only occurs sometimes. Is it a possible phone issue?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 6 points 1 year ago

I'm going to guess that pict-rs (the image uploader behind Lemmy) is stripping the EXIF data that controls orientation, and that when you're "editing" the pictures before uploading, your editing software is just modifying the EXIF orientation data without re-saving the raw image in a new orientation (as it should). I checked into the pict-rs source code a bit and it appears that's what's happening via a sledgehammer exiftool -all= call, but I don't have any familiarity with the pict-rs codebase so I could be mistaken on where this is getting called. It should probably be preserving the Orientation tag with this exiftool call, as well as maybe some color profiles etc. In the short term, I would say upload your images to a different image service or use image editing software that forces a re-save of the image itself instead of just the EXIF data.

exiftool all command

[โ€“] [email protected] 2 points 1 year ago

Photo orientation is stored in two places. The place that is a tag gets stripped with all location data on upload.

Source:I am not a developer, so this is repeating what I read elsewhere. Correct me if I am wrong.