OpenEXR: Write colorspace metadata for multilayer EXR
Previously it was only working for the single layer case. For multipart we write the colorspace in each part. For single part we write the first non-data colorspace, and hope data passes will be identified based on channel name like Blender does (e.g. XYZ instead of RGB). Reading is unchanged and still the same as before, in that it only reads the colorspace from the first part. There is only one color space per image datablock, so we can not store anything more currently. In practice it would be unusual for all passes in a file not to either have the same colorspace or be data. All the compositor file output test images were updated to include the metadata, so that the test will check if the metadata is there. Ref #144911 Pull Request: https://projects.blender.org/blender/blender/pulls/146809
This commit is contained in:
committed by
Brecht Van Lommel
parent
be1619f4ad
commit
e91c8300a6
BIN
tests/files/compositor/file_output/exr_multilayer_passes/0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_multilayer_passes/0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_multipart0001_L.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_multipart0001_L.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_multipart0001_R.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_multipart0001_R.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_singlepart0001_L.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_singlepart0001_L.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_singlepart0001_R.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_multipart/multilayer_singlepart0001_R.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_multipart/multiview_multipart0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_multipart/multiview_multipart0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_multipart/multiview_singlepart0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_multipart/multiview_singlepart0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/Alpha0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/Alpha0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/CryptoObject000001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/CryptoObject000001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/CryptoObject010001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/CryptoObject010001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/Depth0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/Depth0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/DiffCol0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/DiffCol0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/Image0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/Image0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/Normal0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/Normal0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_passes/Vector0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_passes/Vector0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/exr_png_group_multilayer_passes/0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/exr_png_group_multilayer_passes/0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/png_exr_single/Image0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/png_exr_single/Image0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/png_to_exr/A0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/png_to_exr/A0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/png_to_exr/B0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/png_to_exr/B0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/png_to_exr/G0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/png_to_exr/G0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/png_to_exr/Image0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/png_to_exr/Image0001.exr
(Stored with Git LFS)
Binary file not shown.
BIN
tests/files/compositor/file_output/png_to_exr/R0001.exr
(Stored with Git LFS)
BIN
tests/files/compositor/file_output/png_to_exr/R0001.exr
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user