I have been looking at the C++ api for the water fall sink, and would like to take the displayed output and have it saved as a png image instead of displayed on the gui. I know that is is possible to right+click in the window and export an image that way, but am curious if it is possible to make a custom sink block that can maintain the waterfall functionality, but periodically export its image data to a PNG.
I have been looking into the QImage class:https://doc.qt.io/qt-5/qimage.html#save.