Draw on viewport after rendering

So basically, I know I could inherit the viewport class and just use it’s postRender method to do anything. However, I’m interested in how I could go about doing that, but from another object.

Is there a way to access the rendered image, so I can for example just make all the pixels red?