Skip to content

Add absolute conversion matrices for ProPhoto RGB#156

Merged
tomcur merged 1 commit into
linebender:mainfrom
tomcur:prophoto-absolute
Apr 24, 2025
Merged

Add absolute conversion matrices for ProPhoto RGB#156
tomcur merged 1 commit into
linebender:mainfrom
tomcur:prophoto-absolute

Conversation

@tomcur

@tomcur tomcur commented Apr 22, 2025

Copy link
Copy Markdown
Member

This builds on #139, which added absolute color conversions (conversions without chromatic adaptation). The default method implementations added there use the chromatically-adapting methods and undo adaptation through additional matrix multiplies. For efficiency, we can do the absolute conversions using matrices that do not include adaptation in the first place.

This PR does that for ProPhoto RGB. More to follow.

@tomcur tomcur left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Note the behavior is tested since #153.

@waywardmonkeys waywardmonkeys left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Assuming the tests validate that the matrix values are correct, looks good to me.

@tomcur

tomcur commented Apr 24, 2025

Copy link
Copy Markdown
Member Author

Assuming the tests validate that the matrix values are correct, looks good to me.

They do, but can't catch small errors.

@tomcur tomcur added this pull request to the merge queue Apr 24, 2025
Merged via the queue into linebender:main with commit a0c7038 Apr 24, 2025
@tomcur tomcur deleted the prophoto-absolute branch April 24, 2025 09:02
tomcur added a commit that referenced this pull request Apr 24, 2025
Continuing the addition of absolute color conversion matrices. See also
#156.
github-merge-queue Bot pushed a commit that referenced this pull request Apr 25, 2025
Continuing the addition of absolute color conversion matrices. See also
#156.
github-merge-queue Bot pushed a commit that referenced this pull request Apr 30, 2025
Continuing the addition of absolute color conversion matrices. See also
#156.
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