optipng | R Documentation |
Call the command optipng
via system2()
to optimize all PNG
files under a directory.
optipng(dir = ".", files = all_files("[.]png$", dir), ...)
dir |
Path to a directory. |
files |
Alternatively, you can choose the specific files to optimize. |
... |
Arguments to be passed to |
OptiPNG: https://optipng.sourceforge.net.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.