Hi there,
I am struggling with some of my RAF files (i have a Fujifilm X-T20) having black lines when opening them with darktable. It doesn’t happens with all files, it seems to be quite random. Also, those black lines are not always at the same position. The lines appear when i open the image with Darkroom, and when i export the file to JPEG format.
I don’t have this problem with the JPEG files created by my camera. I tried to export some of these “black-lined” RAF files on a friend’s laptop with Lightroom and it went fine, so i think the issue comes from Darktable.
I’m running Darktable on Ubuntu 24 (but had the same problem already with Ubuntu 22).
I’ve looked around the Internet but didn’t see anything like this. And i’m quite new to the software so maybe i missed something important !
The image is a screenshot of one of these files in Darkroom. The corresponding RAF file is also provided.
I shoot with a X-T20, and have never seen anything like this with any photo. With yours, I do not see the lines when I open your file with Geeqie, but I do see the lines when I open it with darktable, both before and after making some edits, and a jpeg export of the edit also shows the lines.
Are your camera body and lens up to date on firmware? This isn’t based on any knowledge of such a problem, just thinking of how something could be off the rails in the file recorded by the camera.
Opening the file in a hex editor, there are two big chunks with nothing but zeroes. Clearly the file wasn’t written correctly. As @dtrtuser says, it’s either the camera or the SD card that’s faulty.
It would be worth downloading all the files off your SD card and then doing a full format of the card in the camera. This can’t hurt but it can reduce fragmentation when files are written to your card. I use this method rather than the delete all option an all my cameras.
That’s not a mistake. You simply asked darktable to use the raw file everywhere. I have that set, too. Since you see the raw, even when looking at thumbnails on the lighttable, you also see the corruption in the raw files.
I haven’t gotten into the coffee yet today, but I believe that setting in preferences indicates “never use raw file instead of embedded JPEG” when generating thumbnails for images that have not yet been processed in the darkroom. I think it is “always” that asks dt to use the raw file everywhere.
Is it possible that the .RAF file has multiple embedded JPEGs, and Geeqie and darktable are using different ones? Unfortunately, I don’t know how to check that.
As I pointed out further up, there are two big chunks “missing” (aka. nothing but zeroes) in the file, so most definitely broken.
This has nothing to do with fragmentation, which will never lead to corruption, but only degraded read/write performance (and even then that’s mostly an issue with spinning disk drives).
Hi,
thanks for all your answers I’m trying to update camera and lense software update, as well as reformatting my SD card and see if it’s work. [Update : it doesn’t]
My memory card is a micro-SD, do you think that may cause trouble ?
Thanks again !