I'm using the cryptomatte node to export individual mattes for various items in my renders, but I'd like to also export the entire "pick" image to a new file just as it's visible in the node graph interface with random colors and all:
When I connect the "pick" image itself to a "file output" node I get an empty PNG saved to the drive, and I can't figure out a stack of nodes that will save it as an image.
My workaround would be to write a python script that runs through all of the objects in the scene, creates a cryptomatte node with a path export for each object, saves the file for each object to a folder, and then I merge all these files with opencv... but that's a little intense to recreate an image that's right there in Blender. I'm sure there's a better way! Any suggestions would be greatly appreciated.
Thanks :)