File: optipng.Rd

package info (click to toggle)
r-cran-xfun 0.37%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 792 kB
  • sloc: ansic: 242; sh: 22; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (2)
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}.
}