Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcraw: handle Fujifilm lossy compression #7005

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

sgotti
Copy link
Contributor

@sgotti sgotti commented Mar 22, 2024

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.

port from libraw handling of fujifilm lossy compression.
@sgotti sgotti marked this pull request as ready for review March 25, 2024 13:28
Copy link
Collaborator

@Lawrence37 Lawrence37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, and the couple of Fuji raws that open in dev are still fine with this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: file format Camera or image file formats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants