ofSaveScreen Transparent PNG?

I’m pretty sure this is a very trivial problem, I’m trying to save an image of my app with ofSaveScreen as a PNG file, I have no background that I’m drawing and I wanted to save this PNG with a transparent background. I’m not using any FBOs or anything - what’s the easiest way to save a transparent PNG?

Attached is what’s exporting - the grey background is what I don’t want.

i think if you clear the background with a color with alpha 0 you should get a transparent image. otherwise using an fbo

Ah ok, I’ll try that.

Did manage to get it done by saving it to an Fbo and then Fbo to Pixels and then saving those pixels but looking for a simpler solution, basically :slight_smile: