darktable icon indicating copy to clipboard operation
darktable copied to clipboard

TIFF/JPG snapshots are misaligned against raw file originals

Open Dave22152 opened this issue 1 year ago • 10 comments

Describe the bug

When I export a raw file from DT into JPG or TIFF format and apply no changes, the snapshots are misaligned. The attached screenshot shows the issue.

Steps to reproduce

  1. Open a raw file
  2. Make no changes and export to JPG or TIFF format
  3. Import the exported file and create snapshot
  4. Return to the original raw file and activate snapshot. The two images will not line up one one another

Expected behavior

I'd expect the two images to lay on top of one another identically

Logfile | Screenshot | Screencast

Darktable screenshot anamoly

Commit

I just noticed this with version 4.7.0+339. My 4.6.0 version is corrupted so I wasn't able to determine if it applies there

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

4.7.0+339~gf0f976dd7b

What OS are you using?

Windows

What is the version of your OS?

Window 11

Describe your system?

AMD Ryzen 5 5600X 6-Core Processor, 3701 Mhz, 6 Core(s), 12 Logical Processor(s) NVIDIA GeForce RTX 3060 8 GB Ram

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

NVIDIA GeForce RTX 3060

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

The raw file is .CR3 format from a Canon R7, but the issue occurs with .CR2 files as well. Sometimes the misalignment can become quite severe.

Dave22152 avatar Feb 19 '24 23:02 Dave22152

I have also noticed this, in 4.6.0 on both Mac and Linux. I meant to file a bug report but haven't got around to it yet, and now I saw you beat me to it :-)

Hpbirkeland avatar Feb 25 '24 12:02 Hpbirkeland

@Hpbirkeland, great minds think alike! 😉

It seems the issue takes place when converting from raw to another format. Duplicate raw files or TIFF/JPEG files that are exported again don’t exhibit the issue.

Dave22152 avatar Feb 25 '24 20:02 Dave22152

I'm seeing the same issue both JPG against RAW and RAW against JPG:

image

With a much more severe offset in my case

nightpool avatar Apr 04 '24 23:04 nightpool

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Aug 01 '24 00:08 github-actions[bot]

Hello, I didn't want the issue to go stale, so I wanted to see if anyone was looking into the issue. This problem has the same offset effect when copy/pasting masks from raw file to TIFF/JPEG, so it becomes a problem in editing.

I found some other interesting behaviors with this issue that I can share later, namely that if I paste masks from a raw to a TIFF or JPEG then the masks are offset, but they are aligned properly when pasting them back to the original raw

Dave22152 avatar Mar 12 '25 18:03 Dave22152

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar May 12 '25 00:05 github-actions[bot]

I can still reproduce this issue

nightpool avatar May 12 '25 00:05 nightpool

I would still like to keep this issue open, and it would be great if it could be corrected. Thanks!

Dave22152 avatar May 12 '25 15:05 Dave22152

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Jul 12 '25 00:07 github-actions[bot]