There's no way to save an image at runtime?

I have an application I’m building. It a sort of diagram builder. Now how can I get it to save a bitmap of it locally (not sharedobject). Or even a xml file for saving or something?

Maybe zinc?

Program is preferably run on local client’s computer.