Skip to content

Conversation

@ssh4net
Copy link

@ssh4net ssh4net commented Oct 30, 2025

Add ProPhotoRGB (ROMM RGB) as a set of builtin transforms for color space conversions between ProPhotoRGB and ACES2065-1, including both native gamma 1.8 and sRGB gamma variants. Updates documentation: usage and available styles, registers the transforms in the registry. Adds comprehensive unit tests for registration, gamma curves, round-trip, and variant support.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 30, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

Add ProPhotoRGB (ROMM RGB) as a set of builtin transforms for color space conversions between ProPhotoRGB and ACES2065-1, including both native gamma 1.8 and sRGB gamma variants. Updates documentation: usage and available styles, registers the transforms in the registry. Adds comprehensive unit tests for registration, gamma curves, round-trip, and variant support.

Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
Copy link
Collaborator

@doug-walker doug-walker left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution Vlad.

Technically, there should be a version check added to ensure these are not used with configs for earlier versions of the library. But I will add that for you after the TSC decides what release to assign this to.

Copy link
Collaborator

@doug-walker doug-walker left a comment

Choose a reason for hiding this comment

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

Thanks for the updates Vlad. Here are a few more requests, below.

Regarding the sRGB ProPhoto, it does not need a special LUT, so it is easy for people to add to configs, if they want. I will confirm at the next TSC meeting, but I don't think we should make this a built-in.

•  ProPhotoRGB.cpp to remove unused linear-to-encoded LUT generation and updated the color space conversion to use build_conversion_matrix_to_XYZ_D65.
• test cases in BuiltinTransform_tests.cpp and BuiltinTransformRegistry_tests.cpp.

Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
@ssh4net
Copy link
Author

ssh4net commented Nov 4, 2025

@doug-walker i can't get what a problem with CLs. I have tested code builds in MSVC on windows and in clang-20 on Ubuntu.
Both don't have found an issues and built succesfully.

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