-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(openexr): Add support for luminance-chroma OpenEXR images. (#4070)
Upon reading, the subsampled Y/BY/RY(/A) channels of luminance-chroma images are automatically converted to RGB(A) channels. These images will set a metadata "openexr::luminancechroma" to 1 in the ImageSpec, to indicate that the original image was luminance/chroma. Subsampled channels are not supported with the exception of reading luminance-chroma images with vertical and horizontal sampling rates of 2. This limited support does not work when OpenEXR's C Core API in used, only when OpenEXR's C++ API is used. Furthermore, it does not work in combination with tiles, multiple subimages, mipmapping, or deep pixels. The test images from the OpenEXR testsuite have been added and work with the C++ variant of the test. Fixes #4051. --------- Signed-off-by: Joachim Reichel <43646584+jreichel-nvidia@users.noreply.github.com>
- Loading branch information
1 parent
1427fd3
commit f71dfcc
Showing
7 changed files
with
362 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.