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