nextcloud / nextcloud/ios

Apple ProRaw DNG image data destroyed during upload

Open
#3,369 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

I shoot in Apple ProRaw on my iPhone, compressed with lossless JXL. These files are ~15MiB in size, and contain linear raw data readable by Photoshop / Lightroom.

When I upload these to my server (using auto-upload in the app) the resulting files (which are still .dng (i have disabled "most compatible)) are ~4MiB in size, and are recognised by Photoshop / Lightroom as non-raw files.

I would like to back up my photos in full quality, that's somewhat the entire point of using something self-hosted like nextcloud.

Is there a setting I've missed? Really I'd like the files stored on nextcloud to be identical (byte-by-byte if possible (can't see why not)) to the files taken by the phone camera.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the iOS app's auto-upload path for Apple ProRaw .dng files and compare the original phone file with the uploaded result. Check where the file changes from roughly 15 MiB to 4 MiB and is no longer recognized as raw. Done means the uploaded file remains byte-for-byte identical to the source, or the app clearly exposes the relevant setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.