Renders to pdf and png