OpenArchive / Save-app-ios

Secure Mobile Media Preservation
https://open-archive.org/
GNU General Public License v3.0
10 stars 3 forks source link

Unpredictable orientation of photos on GoodCloud #172

Closed foundscapes closed 2 years ago

foundscapes commented 4 years ago

This only happens with photos, not video. Wondering if it is affected by photo being landscape vs portrait...will test on Android.

Screen Shot 2019-11-19 at 9 09 12 AM Screen Shot 2019-11-19 at 9 11 45 AM Screen Shot 2019-11-19 at 9 11 56 AM Screen Shot 2019-11-19 at 9 12 08 AM
tladesignz commented 4 years ago

That is how it's seen on the server? And they are JPEG? Which software shows that? A browser? Shows original files or smaller preview-renderings of them?

Many devices store photos in landscape always. They just set a flag in the JPEG's metadata, that the display orientation was actually meant to be different. Some software doesn't honor these flags and renders smaller versions of that photo wrong or just displays it wrong. (Same can happen with color profiles, btw.)

It might well be, that we can't do anything about it, except recoding the photo. Which would mean, it wouldn't be the original photo anymore, technically. Typical dangers with that approach is also, that we accidentally lose metadata (inside the photo file) when doing so.

foundscapes commented 4 years ago

Ahh gotcha.

Saw this on GoodCloud Firefox 70.0.1 browser jpegs - orientation off for both smaller preview and OG files once clicking.

n8fr8 commented 4 years ago

I think Nextcloud's web interface isn't "respecting the EXIF", as @tladesignz said. We definitely don't want to rotate/re-encode the photo.

roseregina commented 4 years ago

I am working on testing this, but I want to flag for the documentation for orgs that Next Cloud doesn't fully engage [no thumbnail, no viewer] with the .heic file format that the the iPhone 11 (and probably others) uses on the high efficiency setting.

From what I can tell, this means that if you want or need to be able to see your images correctly in Next Cloud, you have to change this before taking the photo: Settings > Camera > Formats image

johnhess commented 2 years ago

This is a goodcloud issue, so closing.