Call the command optipng via system2() to optimize all PNG
files under a directory.
Arguments
- dir
Path to a directory.
- files
Alternatively, you can choose the specific files to optimize.
- ...
Arguments to be passed to
system2().
References
OptiPNG: https://optipng.sourceforge.net.