When you meant saving to a DB, I hope you meant storing the process and its image to Guvnor.
There are rest urls through which we can get this image. This thread might help
no, i need to save image of process in my own DB workaround is to open an specific revision of the process from guvnor .
could you help me please ?
You have to currently generate the PNG or SVG in Designer now and you can get it via the Guvnor rest api (for example drools-guvnor/rest/packages/<package-name>/assets/<asset-name>/binary). We are working on allowing generation without the process being loaded in the browser.