Feat/wide color gamut#29
Merged
Merged
Conversation
Add support for Adobe RGB (A98-RGB) with pure Gamma 2.2 transfer function and D65 white point, and ProPhoto RGB with linear transfer function. New header files define color models, channel traits, and conversion functions for both color spaces.
- Register Adobe RGB, Linear Adobe RGB, ProPhoto RGB, and Linear ProPhoto RGB color traits in the conversion graph, linking them to XYZ via their linear variants. - Include the new color space headers in core and registration files. - Update the color space hierarchy diagram in color_space_registry.hpp to reflect the new spaces. - Fix missing trailing newline in adobe_rgb.hpp conversion functions file.
Replace A98-RGB and ProPhoto RGB conversion via XYZ with direct color types (adobe_rgbf_t, prophoto_rgbf_t) in CSS color function parsing. Extend conversion graph with Adobe RGB and ProPhoto RGB color nodes and their linear variants for improved accuracy and efficiency.
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.
No description provided.