webpmux
Manipulate WebP metadata and animation
TLDR
SYNOPSIS
webpmux [-get|-set|-strip] [options] input [-o output]
DESCRIPTION
webpmux is a tool from Google's libwebp library for manipulating WebP image files at the container level. It can extract and set metadata profiles (ICC color, XMP, EXIF), extract individual frames from animated WebP files, and combine frames into animations.The tool operates on the WebP container format without re-encoding the image data, making operations fast and lossless. Metadata can be stripped from files to reduce size, or added to include color management and descriptive information.For animated WebP files, individual frames can be extracted as separate WebP images, and frame timing and looping parameters can be inspected with the info command.
PARAMETERS
-get TYPE
Extract data: frame n, icc, exif, or xmp.-set TYPE FILE
Set metadata: icc, exif, or xmp.-strip TYPE
Remove metadata: icc, exif, or xmp.-frame FILE+OPTS
Add frame for animation (file +duration[+x+y[+method[blend]]]).-duration DURATION[,START[,END]]
Set frame duration in milliseconds.-loop COUNT
Loop count for animation (0=infinite, range 0-65535).-bgcolor A,R,G,B
Background color for animation canvas (values 0-255).-info
Display file information.-o FILE
Output file.-version
Display version number.
CAVEATS
WebP format only. Part of libwebp-tools. Only one -strip/-get/-set operation per invocation; stripping multiple metadata types requires separate commands.
HISTORY
webpmux is part of libwebp by Google, providing tools to manipulate WebP images.
