Ticket colletion about faulty saved Images on external SD Card (mostly...
Camera app for Android.
Brought to you by:
mark-h
I want to bundle a bunch of Tickets, which all adresses the same problem:
OpenCamera does not correctly save images to external SD Cards (mostly on LineageOS 17.17 / Android 10). Orientation is shown wrong in Gallery apps or even not shown at all. Details see posts below.
This problem is adressed in all of the following posts (back to 2016) and seems not to be solved yet.
Please correct me if I only missed the solution or bug fix.....
Obviously a lot of people loving OpenCamera would appreciate any status in this bug or a solution in a next release.
Cheers, Robert
Anonymous
edit:
above cited #736 should be #737
Also I found issues in the LineageOS bug system here and opend one by myself...
So the questions stays: can this problem be solved only by OpenCamera devs or only by LineageOS devs and what is the real reason?
Related
Tickets: #737
Thanks for collecting these together. It's not something that I can reproduce on my devices - not sure if it's a LineageOS or device specific issue.
Can you upload an example image please where it was taken in portrait, but doesn't show the correct orientation when saved to SD card?
The fact that the built-in camera has problems does make that worth reporting to LineageOS, so thanks for doing that. I wonder if other third party camera applications also have similar problems?
Thanks for looking into this, Mark.
Attached following images (+ some more screenshots from LOS17.1 built-in gallery and Simple Gallery Pro) taken by OpenCamera.
1) Portrait to SD-Card (FAULTY in Galleries)
2) Landscape to SD-Card (FAULTY only in Built-In-Gallery of LOS17.1)
3) Portrait to INTERN (no problem)
I doubt one can find anything within the images itself, as they seem to be correctly when moved to internal storage be file manager
Do you find anything wrong there, or?
About correct file/write-permissions we do not learn anything by this, right?
I was a little buffeld about the "comment" string which has some very cryptic stuff inside... ("GOQTC>R:@MUH<K ....")
I can test also with 3rd party camera app - which one would you like to test (I don't know others)?
Yes, I reported it as LOS issue - but not yet any response...
Could you imagine to take any steps in OpenCamera itself?
Would be a logcat or anything else helpful?
How to check permissions or something Android like stuff?
"I doubt one can find anything within the images itself, as they seem to be correctly when moved to internal storage be file manager"
Oddly I'm seeing the opposite - both (1) and (3) I see as landscape images (i.e., width larger than height, and when viewed the picture is on its side, unlike (2) where it's correct). This is true if I view in my browser, or download and view in various applications (on Windows).
Also I can't see any "comment", where were you seeing this?
Indeed the images (1) and (3) don't seem to have any Exif tags at all, I'm not sure if these got stripped out at some point. If there are properties on the images at your end, maybe try emailing me them (mark.harman.apps@gmail.com) in case they got stripped out by Sourceforge? (Only need to see the original photos 1 to 3.)
I'm not sure of any further steps to take I'm afraid.
Interesting. On my Notebook I can see EXIF with XnView incl. the ugly comment for all three. They having the same dimensions but different orientation as it should be. I again atached it as ZIP, EXIF should kept this way.
Let me know, what you think.
I also checked the file permissions with Filemanager from LOS: all three images saved on SD have the permission flag:
mount: sdcardfs / mode: -rwxr-xr-x / owner: root/everybodyImage 3 copied from SD to Internal storage has:
mount: sdcardfs / mode: -rw-rw---- / owner: root/everybodySounds this correct? Or should I check this in a different way?
Cheers, Robert
The zip seemed to have fixed it, I now see (1) and (3) showing as portrait.
So I guess that still leaves the puzzle as to why it doesn't show in portrait on Android when on the SD card.
The images show that the orientation is defined by the Exif tag - i.e., when in portrait, the image data itself is still in landscape, but the EXif Orientation tag indicates that it should be rotated. Maybe for some reason the Gallery isn't able to read this when stored on the SD card.
"I doubt one can find anything within the images itself, as they seem to be correctly when moved to internal storage be file manager"
What about the opposite - if the image is moved from internal to SD card, does it then show incorrectly?
I see the strange "Comment". I guess double check in Open Camera Settings/Location settings/"Store yaw, pitch and roll" is disabled? If not, Open Camera doesn't modify or set a user comment, so I don't know why it would be coming out like that.
I'm not sure if there's any problem with the permissions - I'm not sure how I could change that in Open Camera anyway.
Other third party cameras that support SD card include A Better Camera, Footej Camera, Snap Camera HDR.
When saving pictures taken in portrait mode to external SD card with any stamp on (custom text, date etc.) the orientation is set properly. When stamps are turned off, the orientation goes back to being wrong, i.e. pictures taken in portrait revert to being shown as landscape. Hope this can help to find the cause.
Cheers
[#796]
Related
Tickets: #796
Last edit: userx 2020-12-09
I'm having the same issue.
Reported here : https://sourceforge.net/p/opencamera/tickets/737/