Darktable exports EXIF X and Y Resolution with SLong instead of Rational
My workflow is this: download the CR2 raw images from my camera to my machine, edit with Darktable, and export to an 8-bit JPEG.
When I download the photos to my machine, according to the EXIF metadata (output from `exiv2 -pa filename.CR2 | grep Resolution`), the images are like this:
Exif.Image.XResolution Rational 1 72
Exif.Image.YResolution Rational 1 72
However, after exporting from Darktable, the images have the following resolution:
Exif.Image.XResolution SLong 1 300
Exif.Image.YResolution SLong 1 300
I believe this is causing some external programs (specifically Window's file manager) to display that the
DPI/PPI of the image is 1. I'm not the most familiar with image resolutions, but is there some reason that Darktable uses SLong instead
I've attached an example output image from Darktable that has this issue.
I previously filed a bug (https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1778344) with Shotwell, mistakenly thinking that
Shotwell was causing this issue.