darktable-org / rawspeed

fast raw decoding library
GNU Lesser General Public License v2.1
347 stars 114 forks source link

Fujifilm X-T4 (non-lossless) "compressed" raw support #232

Open LebedevRI opened 4 years ago

LebedevRI commented 4 years ago

I have now uploaded three .RAF files (on a X-rite colorchecker classic): 1) uncompressed 2) Compressed lossless 3) Compressed

Originally posted by @frli8848 in https://github.com/darktable-org/darktable/issues/4943#issuecomment-625797717

kmilos commented 2 years ago

Apart from X-S10 and X-E4, the lossy mode is also present for GFX 100 (no lossy samples on RPU though), GFX100S and GFX50S II, perhaps it is all the same?

kmilos commented 6 months ago

Cf. https://github.com/LibRaw/LibRaw/compare/0.20.2...0.21.2#diff-433cfe5a298e40678f55be557c31e36344f501e5587fd9da4a49769c6e706c61 for porting.

The header "version" byte was renamed to "lossless" and values 0 and 1 are accepted, with lossy implementation added.

@jdneumeyer77 Is this something you might perhaps be interested in helping to update as well?

jdneumeyer77 commented 4 months ago

@kmilos I might not have time right away, but I can look into it. Is there a specific commit? That's a pretty wide-range you provided.

kmilos commented 4 months ago

Is there a specific commit?

Unfortunately not, they usually just push the whole milestone at once. The link should take you just to the relevant file though. You can also take a peak at https://github.com/Beep6581/RawTherapee/pull/7005