Darktable won't open (some) tiff files

Upon reviewing some older images I stumbled on a very strange error. There is a tiff file (created by the Skylum Aurora program under Windows), that darktable refuses to open, with an error stating “unsupported camera model”. The file can be normally opened in GIMP (version 2.10.36).

Edit: I just discovered another tiff file, created by ART (Rawtherapee fork), that throws the same error (“unsupported camera model”)…

I tried both files opening in GIMP (they open OK) and re-saving them, but the result (in darktable) is the same.

The original raw files (pef), from which these tiff files are derived, open in darktable without problems.

I thought tiff is, unlike raw files, independent of the camera model or maker …

Also, and maybe related to the above: darktable won’t open LZW packed tiff files…

This is happening on the darktable 5.2.1 under Linux Mint 22.1 …

See [imageio] Avoid reading TIFF files made from raw as raw format by victoryforce · Pull Request #19189 · darktable-org/darktable · GitHub

Will likely be improved in the next version.

2 Likes

Thank you for your information.

Is LZW compression for importing tiff files currently supported?

Should be, if the system libtiff supports it.

1 Like

Since the camera model is normally listed in the EXIFD0 Make and Model tags 0x010f and 0x0110, do your TIFF embedded tags match those tag-numbers and do they have correct values?

Can you post a problem TIFF somewhere so that I can look at the exif?

1 Like

Occasionally I get problems with tiff file incompatibility between various programs not just DT. I would suggest opening the file in software such as GIMP where it will open and exporting it as an uncompressed tiff. This resolves the issue for me.

1 Like

Thank you for your information.
Yes, I also do it in this way, but with this particular error, unfortunately, it does not work. In fact, under Linux, GIMP, ART, and Rawtherapee are the only program, that can open these files, while darktable, pix, and various viewers, including XNView can not.

Yes, those values are correct. Attached is also the output from exiftool.
And here’s the link to the image file:
Tiff file giving “camera not supported” error
Cerknisko_Jezero_250309_161709_J_2193_R00_AR01.exif.txt (8.8 KB)

Could you share one of the images? Tiff files have given me problems at times because they can contain pages (multiple layers). A blessing and a curse depending what you are doing.

1 Like

For a file link, see my previous post. And, no the files affected do not have multiple pages.

I opened it in Photoshop CS6. I notice it is a 32 bit tiff file. I wonder if that could be contributing to the problem.

I opened your file in GIMP, did no editing or changes and exported it as a .tiff file which then opened in DT. Sometimes I get this issue with tiff files. Reason is unknown to me, but it seems not all tiff files are created equal.

Did you read the linked PR?

I read it, and I think I understood the meaning of it, concerning the “unsupported camera model” error.
The most probable cause for the inability to open the file(s) in other viewers is its (their) 32 bit float format.

1 Like