Export BPMN to an image or pdf

Is there any way to export processes models to an image (JPG, JPEG, PNG, etc) or pdf file?

For default configurations, there is an image generated when the process is deployed. You can fetch this from the database or pull it out programmatically:

Hi @wwitt,
I tried this and got it basically working. Unfortunatelly data objects are not rendered in the final png. Do you know why this is?

what I did: model a simple bpmn process and add some data objects to the tasks. Then I generated the image with the method you suggested.
As you can see in the picture there is only a dotted line where a data object should be. Other data objects with a data association are completely lost including the association line.

Greetings
Simon

If that’s the case, it most likely means this isn’t implemented yet in the diagram generator right now.