I digitalized some old photos in DNG format for archival purposes, with the intention to use Darktable to further post-processing them.
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 (being the original value much higher).
Since resolution and size represent the real size of the original picture, I would like to preserve this value.
I am using darktable 4.6.1 on Ubuntu 22.04.
Did I miss some import settings?
Edit: I used an Epson Perfection V550 Photo and VueScan 9 x64 (9.8.26.08).
I dont think dt reads those tags. I’m not sure of the value for them. It seems like they mean the pixels per inch (mm). darktable exports the image size (width/height) in pixels.
The unit of measure is given in a separate tag
[EXIF] Resolution Unit : inches
I also suppose that DT does not consider this feature.
It is meaningless, for a picture captured by a camera, at least until you need to print it.
However, resolution carries information about the original, in case of scanning.
It is curious that it provide these tags when exporting the image (again, probably because the printing becomes the next step).
This is because these tags are mandatory according to the TIFF/EP spec. Although Exif spec says those are optional w/ 72dpi as default, 300dpi is as good as value as any, given that the print size is usually not known a priori at export time.
However, you might have an interesting use case here.