I recently started learning C++ and Openframeworks.

Currently, I am working on a pre-coded and shared depth map project by "nocomputer."

Everything seems to work and it gives a nice depth map.
However, the code is missing on how to save the result.
I tried some simple lines to save as an image but failed.
Can anybody help me on how to properly save the depth map result?

Thank you so much!