If the tool qpdf is available in the system, it will be called to manipulate the PDF files (especially to compress the PDF files).
the path of the input PDF file
the path of the output (if missing,
This is a wrapper to call
qpdf. The path of
be set via
ani.options(qpdf = 'path/to/qpdf').
See the reference for detailed usage of
ani.options('qpdf') is non-
NULL, then this function
returns the status of the operation (
0 for success; see
system); otherwise a warning will be issued
Examples at https://yihui.org/animation/example/qpdf/
qpdf official website https://qpdf.sourceforge.io/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.