Project

General

Profile

Bug #12241

Darktable exports EXIF X and Y Resolution with SLong instead of Rational

Added by Bryce Willey 28 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
General
Target version:
-
Start date:
06/23/2018
Due date:
% Done:

0%

Affected Version:
2.0.3
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

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
of Rational?

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.

Lacy-A1560562-board.jpg - A image with a resolution of SLong. (266 KB) Bryce Willey, 06/23/2018 10:05 PM

Also available in: Atom PDF