Support compressed (lossless/lossy) Fujifilm RAF files#53
Open
naorunaoru wants to merge 2 commits intopedrocr:masterfrom
Open
Support compressed (lossless/lossy) Fujifilm RAF files#53naorunaoru wants to merge 2 commits intopedrocr:masterfrom
naorunaoru wants to merge 2 commits intopedrocr:masterfrom
Conversation
Owner
|
The changes look in general fine but there's several different things in them besides the RAF changes. Maybe split it into different PRs so we can go incrementally? |
Author
|
@pedrocr Yes, there's some leftover stuff from WASM tests. I'll move it out once I got more time. Also I was trying to revive the test harness but without much success for now. |
Owner
|
On the test harness I may have other local changes for it. And for camera support I also have some automated tooling that's not on this repo. |
Add a decoder for Fujifilm's compressed RAF format, supporting both lossless (IS version 0x0110) and lossy (IS version 0x0010) compression. The decoder handles the Fuji-specific interleaved block structure with gradient-based prediction, outputting pixels at a fixed CFA phase matching libraw/rawpy. Zero-filled sensor borders are auto-detected and used to set correct crop values.
Author
|
@pedrocr I've cleaned up the code. Let me know if you'd also like to exclude adding more Fuji cameras from this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Opening it as a draft, because the code requires some cleanup, but still: it works.
I'm using it in my project:
https://github.com/naorunaoru/x-veon