Description Usage Arguments Value
Save a previously created pdf file also as png in the same directory. Requires imagemagick to be installed on the system and to be in the $PATH. On Windows, the system command "convert.exe" is found before ImageMagick's convert.exe, that's why we have to hardcode it.
1 |
fname |
the name of the pdf file to convert |
basedir |
the directory the pdf file is in, if NULL, the "figures" folder in the current working directory is taken |
dens |
sets the resolution of the resulting png |
nothing, invoked for side effects (png creation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.