dcraw: handle Fujifilm lossy compression #7005
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
port from libraw handling of Fujifilm lossy compression.
Compressed images used for testing. All OK
Lossy
Fujifilm - X-T4 - 14bit compressed (3:2).RAF
3effd75b8c37c6fd20ba9e8e07081b066e83d921 (25.72MB)
Fujifilm - GFX100S - 14bit compressed (4:3).RAF
4e6e642e25c2e23d34ad0a90bb6570dacd192de2 (61.29MB)
Fujifilm - GFX100 II - 16bit compressed (4:3).RAF
9764c0512e1e6d0dc5e5243c739a497506dc939a (67.59MB) With PR #7002
Lossless that should continue working as before
Fujifilm - X-T4 - 14bit lossless compressed (3:2).RAF
eef92e24d1084cf15dbdfa7375c3058eae521deb (26.65MB)
Fujifilm - GFX100S - 14bit lossless compressed (4:3).RAF
43ccbdd1984ee0f62ea083abd76a62dd3684ef48 (104.76MB)
Fujifilm - GFX100 II - 16bit compressed (4:3).RAF
6e6b7800b8b1b649f9ca977ad89ee9dfcf27d5f3 (106.33MB) With PR #7002
Uncompressed images are unaffected.