Color Managing Matte Paintings

All compositing should be done in a scene-linear color space, and this includes composites with painted matte backgrounds. However, matte paintings can be produced using different techniques, and these affect how you should process the images.

When you are manually specifying color transforms for converting these images, you must first ensure that the images are scene-linear:

Once the image is scene-linear, you can convert the primaries to your working space using one or more of the transforms in the primaries/ directory. For example, if you converted the image to scene-linear ACES 2065-1 and you want to work in scene-linear ProPhoto-RIMM, you can apply ACES_to_CIE-XYZ followed by CIE-XYZ_to_ProPhoto-RIMM.