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

[imageio] Remove unnecessary loaders from fallback path #18498

Conversation

victoryforce
Copy link
Collaborator

This is a continuation of the work on streamlining and simplifying the file loading process started with #18483.

These loaders will be called when the corresponding format signature is recognized. The signatures of these files are unambiguous and match all possible variations of the format, so the corresponding loaders in the fallback path will never be used.

Regarding the RGBE format, theoretically there may be files created at the very dawn of the format, when the author of the format himself did not yet think about the need for a signature. But the probability that someone will need to read those really ancient files in darktable is almost zero. Still, the commit that removes this loader from the fallback path is made separate, to facilitate reverting.

These loaders will be called when the corresponding format signature is
recognized. The signatures of these files are unambiguous and match all
possible variations of the format, so the corresponding loaders in the
fallback path will never be used.
@TurboGit TurboGit added this to the 5.2 milestone Mar 2, 2025
@TurboGit TurboGit added priority: low core features work as expected, only secondary/optional features don't scope: codebase making darktable source code easier to manage labels Mar 2, 2025
Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

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

Thanks!

@TurboGit TurboGit merged commit d91a096 into darktable-org:master Mar 2, 2025
6 checks passed
@victoryforce victoryforce deleted the remove-unnecessary-loaders-from-fallback-path branch March 3, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low core features work as expected, only secondary/optional features don't scope: codebase making darktable source code easier to manage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants