darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.83k stars 1.14k forks source link

X and Y Resolution tags of DNG images are not imported #16519

Open stefanofaferrari opened 7 months ago

stefanofaferrari commented 7 months ago

Describe the bug

I have some large DNG images obtained through scanning at high resolution: [EXIF] X Resolution : 6400 [EXIF] Y Resolution : 6400 [EXIF] Resolution Unit : inches However, “X Resolution” and “Y Resolution” tags are not present in the imported images. As a result, when exporting their post-processed version, the resolution tags are arbitrarily set to 300. Since resolution and size represent the real size of the original picture, I would like to preserve these values. I am using darktable 4.6.1 on Ubuntu 22.04. I used an Epson Perfection V550 Photo and VueScan 9 x64 (9.8.26.08).

Steps to reproduce

In lighttable:

  1. Add a DNG image to library
  2. Go to "image information" panel properties "X Resolution", "Y Resoloution", and "Resolution Unit" are not imported
  3. Go to "format option" panel select TIFF format
  4. Press "export" button
  5. Analyze the exported image with exiftool: resolution is set to 300

Expected behavior

Consider the input resolution and compute the exported resolution coherently.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

darktable 4.6.1

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 22.04 LTS

Describe your system?

6.5.0-26-generic #26~22.04.1-Ubuntu RAM: 32 GB exiftool 12.40

Are you using OpenCL GPU in darktable?

I dont know

If yes, what is the GPU card and driver?

VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)

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

No response

stefanofaferrari commented 7 months ago

Should I provide a DNG image?

github-actions[bot] commented 5 months ago

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.