Blame man/img2webp.1

Packit 9c6abc
.\"                                      Hey, EMACS: -*- nroff -*-
Packit 9c6abc
.TH IMG2WEBP 1 "April 3, 2018"
Packit 9c6abc
.SH NAME
Packit 9c6abc
img2webp \- create animated WebP file from a sequence of input images.
Packit 9c6abc
.SH SYNOPSIS
Packit 9c6abc
.B img2webp
Packit 9c6abc
[file_level_options] [files] [per_frame_options...]
Packit 9c6abc
.br
Packit 9c6abc
.B img2webp argument_file_name
Packit 9c6abc
.br
Packit 9c6abc
.SH DESCRIPTION
Packit 9c6abc
This manual page documents the
Packit 9c6abc
.B img2webp
Packit 9c6abc
command.
Packit 9c6abc
.PP
Packit 9c6abc
\fBimg2webp\fP compresses a sequence of images using the animated WebP format.
Packit 9c6abc
Input images can either be PNG, JPEG, TIFF or WebP.
Packit 9c6abc
If a single file name (not starting with the character '\-') is supplied as
Packit 9c6abc
the argument, the command line argument are actually tokenized from this file.
Packit 9c6abc
This allows for easy scripting or using large number of arguments.
Packit 9c6abc
.SH FILE-LEVEL OPTIONS
Packit 9c6abc
The file-level options are applied at the beginning of the compression process,
Packit 9c6abc
before the input frames are read.
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-o " string
Packit 9c6abc
Specify the name of the output WebP file.
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-min_size
Packit 9c6abc
Encode images to achieve smallest size. This disables key frame insertion and
Packit 9c6abc
picks the parameters resulting in smallest output for each frame. It uses
Packit 9c6abc
lossless compression by default, but can be combined with \-q, \-m, \-lossy or
Packit 9c6abc
\-mixed options.
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-kmin " int
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-kmax " int
Packit 9c6abc
Specify the minimum and maximum distance between consecutive key frames
Packit 9c6abc
(independently decodable frames) in the output animation. The tool will insert
Packit 9c6abc
some key frames into the output animation as needed so that this criteria is
Packit 9c6abc
satisfied.
Packit 9c6abc
.br
Packit 9c6abc
.B \-mixed
Packit 9c6abc
Mixed compression mode: optimize compression of the image by picking either
Packit 9c6abc
lossy or lossless compression for each frame heuristically. This global
Packit 9c6abc
option disables the local option \fB-lossy\fP and \fB-lossless\fP .
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-loop " int
Packit 9c6abc
Specifies the number of times the animation should loop. Using '0'
Packit 9c6abc
means 'loop indefinitely'.
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-v
Packit 9c6abc
Be more verbose.
Packit 9c6abc
.TP
Packit 9c6abc
.B \-h, \-help
Packit 9c6abc
A short usage summary.
Packit 9c6abc
.TP
Packit 9c6abc
.B \-version
Packit 9c6abc
Print the version numbers of the relevant libraries used.
Packit 9c6abc
Packit 9c6abc
.SH PER-FRAME OPTIONS
Packit 9c6abc
The per-frame options are applied for the images following as arguments in the
Packit 9c6abc
command line. They can be modified any number of times preceding each particular
Packit 9c6abc
input image.
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-d " int
Packit 9c6abc
Specify the image duration in milliseconds.
Packit 9c6abc
.TP
Packit 9c6abc
.B \-lossless, \-lossy
Packit 9c6abc
Compress the next image(s) using lossless or lossy compression mode. The
Packit 9c6abc
default mode is lossless.
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-q " float
Packit 9c6abc
Specify the compression factor between 0 and 100. The default is 75.
Packit 9c6abc
.TP
Packit 9c6abc
.BI \-m " int
Packit 9c6abc
Specify the compression method to use. This parameter controls the
Packit 9c6abc
trade off between encoding speed and the compressed file size and quality.
Packit 9c6abc
Possible values range from 0 to 6. Default value is 4.
Packit 9c6abc
Packit 9c6abc
.SH EXAMPLE
Packit 9c6abc
img2webp -loop 2 in0.png -lossy in1.jpg -d 80 in2.tiff -o out.webp
Packit 9c6abc
.br
Packit 9c6abc
Packit 9c6abc
.SH BUGS
Packit 9c6abc
Please report all bugs to the issue tracker:
Packit 9c6abc
https://bugs.chromium.org/p/webp
Packit 9c6abc
.br
Packit 9c6abc
Patches welcome! See this page to get started:
Packit 9c6abc
http://www.webmproject.org/code/contribute/submitting\-patches/
Packit 9c6abc
Packit 9c6abc
.SH AUTHORS
Packit 9c6abc
\fBimg2webp\fP is a part of libwebp and was written by the WebP team.
Packit 9c6abc
.br
Packit 9c6abc
The latest source tree is available at
Packit 9c6abc
https://chromium.googlesource.com/webm/libwebp
Packit 9c6abc
.PP
Packit 9c6abc
This manual page was written by Pascal Massimino <pascal.massimino@gmail.com>,
Packit 9c6abc
for the Debian project (and may be used by others).
Packit 9c6abc
Packit 9c6abc
.SH SEE ALSO
Packit 9c6abc
.BR webpmux (1),
Packit 9c6abc
.BR gif2webp (1)
Packit 9c6abc
.br
Packit 9c6abc
Please refer to http://developers.google.com/speed/webp/ for additional
Packit 9c6abc
information.