Compressed RAF: help needed.

I just did some empirical tests with my X-T2: I shot compressed raws, in S (single frame), CL (low-speed burst), and CH (high-speed burst). Bursts are around 8 fps without the battery grip and with mechanical shutter.

Then I compared the file sizes, as I suppose 12-bit vs 14-bit would make the files differ in size:

  • S : 1 file of 23.3 MB
  • CL : 4 files of 23.6, 23.7, 23.4 and 23.7 MB
  • CH : 6 files of 23.7, 23.6, 23.7, 23.8, 22.5 and 22.9 MB

Clearly, there’s no significant difference in file size, so I guess they are all 14-bit.

[Edit] Now a test with battery grip and electronic shutter (burst speed is 11-14 fps):

  • S : 1 file of 23.1 MB
  • CL : 4 files of 23.7 MB
  • CH : 7 files of 23.7, and 1 of 23.6 MB

Same tests, but without lossless compression: all files between 50.5 and 50.6 MB.

1 Like

JFYI:

$ exiftool -bitspersample compressed-raf/*.RAF 
======== compressed-raf/20170114_174341_TFW04727.RAF
Bits Per Sample                 : 14
======== compressed-raf/20170525_0037TEST.RAF
Bits Per Sample                 : 14
======== compressed-raf/DSCF0151.RAF
Bits Per Sample                 : 14
======== compressed-raf/DSCF0527.RAF
Bits Per Sample                 : 14
======== compressed-raf/_DSF5844.RAF
Bits Per Sample                 : 14
    5 image files read

I DO NOT know if that is the field i’m looking for, but if it prints 12, it may be interesting nonetheless.

I get the same result on all my RAF files using this exiftool command.

I’ve got a RAF file from an X10. According to EXIF data, it’s 12 bits per sample. Is this what you need? DSCF1024.RAF (18.9 MB)

The X10 doesn’t compress its raw files. If I’m not mistaken, here we’re trying to deal with compressed raw files support.

Ah, I see. In the exif, it says JPEG under compression, which made me wonder.

Good luck with your search.

1 Like

After a brief mail exchange with the original author[s] of the code, i’m now under the impression that such sample may simply not exist in the wild yet, it is possible that no current camera produces it.

3 Likes
4 Likes

I own Fujifilm X-T3 with bunch of lenses, what can I do? white balance information of X-T3 RAW is not recognized by Darktable at this moment and so I am relying on JPG.

the 2.6rc0 should be of use: darktable 2.6.0rc0 released

@rhonaldjr I have a simple solution: trade your X-T3 for my X-T2, the latter is perfectlly recognized :laughing:

1 Like

My Darktable handles the X-T3 just fine :wink:

Even with profiled denoise and all!

@paperdigits: I am glad, will give a try

@sguyader: nice try, will stick to X-T3 + JPG till the support is released.

@darix: really!!? mine keep throwing “failed to read camera white balance information from…”. I use uncompressed RAW and that could be the reason. Compressed RAW is recognized by DT I believe.

Morning, @rhonaldjr & welcome!

It sounds very surprising that uncompressed RAW should give you any problems. Usually, it is the compressed ones that can be tricky.

Which OS/distro do you use? Version?
What version of Rawtherapee?
Can you upload a sample image using https://filebin.net/ and post the resulting link here?

Have fun!
Claes in Lund, Sweden

Get the darktable 2.6.0 snapshots from here Install package graphics:darktable:master / darktable

Oh, I was just trying to help! :smile:

thanks, works. but it doesn’t detect the x-t3 (white balance is fine) camera (e.g. when applying lens correction)

Lens correction is handled via the lensfun library/project. I wouldn’t be surprised if the X-T3 isn’t in there yet, but you can make the measurements yourself to correct your lenses. Or from the terminal run lensfun-update-data (I think!).

the database is up-to-date. running lensfun-update-data returns No newer database was found for last installed Lensfun .

So I am assuming there is no much for X-T3 yet. At the moment I choose X-T2 for lens correction.