Export png from game

Any way to export a PNG (or any image format really) snapshot from a 2d texture render target from within my game?
In my case, I have player character’s paperdoll in a widget that shows the charactes equipment. I’d like to export that image and, eventually show it on a webpage.