Debian Codegraph @

man/optipng.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/command.R
3 \name{optipng}
4 \alias{optipng}
5 \title{Run OptiPNG on all PNG files under a directory}
6 \usage{
7 optipng(dir = ".", files = all_files("[.]png$", dir), ...)
8 }
9 \arguments{
10 \item{dir}{Path to a directory.}
11
12 \item{files}{Alternatively, you can choose the specific files to optimize.}
13
14 \item{...}{Arguments to be passed to \code{system2()}.}
15 }
16 \description{
17 Call the command \command{optipng} via \code{system2()} to optimize all PNG
18 files under a directory.
19 }
20 \references{
21 OptiPNG: \url{https://optipng.sourceforge.net}.
22 }