View source: R/png-zopflipng.R
If no outfile
is specified, then the input file is compressed in place.
1 2 3 4 5 6 7 8 9 |
infile |
PNG file to optimise |
lossy_alpha |
remove colors behind alpha channel 0. No visual difference, removes hidden information. |
lossy_8bit |
convert 16-bit per channel image to 8-bit per channel. |
more |
compress more? default: FALSE |
insane |
insane compression options. default: FALSE |
outfile |
output PNG location. If not specified, input file will be overwritten |
verbosity |
verbosity level. Possible values: 0, 1, 2. Default: 0 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.