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: