zopflipng: Lossless compression/optimization of PNG files

Description Usage Arguments

View source: R/png-zopflipng.R

Description

If no outfile is specified, then the input file is compressed in place.

Usage

1
2
3
4
5
6
7
8
9
zopflipng(
  infile,
  lossy_alpha = FALSE,
  lossy_8bit = FALSE,
  more = FALSE,
  insane = FALSE,
  outfile = infile,
  verbosity = 0
)

Arguments

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


coolbutuseless/optout documentation built on Jan. 24, 2022, 12:03 a.m.