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

Rgb support #863

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Rgb support #863

wants to merge 4 commits into from

Conversation

arjunrajlab
Copy link
Collaborator

Added support for RGB images by parsing bands.

In the process, also refactored the generated multi-source JSON to be more explicit about sources for each frame. This was done to avoid a bug in the way large_image was previously parsing things in the non-composited case @manthey. Problem is solved for our scenario, so all good, but I can try and reproduce the bug if you are curious.

@arjunrajlab arjunrajlab requested a review from pchoisel December 25, 2024 14:26
If a file had channels, then those would get improperly split up. Also, we failed to preserve the pass-through behavior for e.g. ND2 files. This fix reverts to the old behavior if not an RGB file, and will explicitly specify channels for RGB files.
@arjunrajlab
Copy link
Collaborator Author

@pchoisel This PR actually had a major bug in it that took some time to identify and fix (it is pure luck I didn't merge it already!). I think I fixed it, but I think I might deploy in house for a while first and then merge if there are no complaints.

@pchoisel
Copy link
Collaborator

pchoisel commented Jan 6, 2025

LGTM, you can merge when you need to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants