mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
README.mux: reword some descriptions
Change-Id: I334caaa908c9a50baf8e35125dd0062d764f2949
This commit is contained in:
parent
4be52f4a65
commit
11316d84b4
22
README.mux
22
README.mux
@ -7,16 +7,16 @@
|
|||||||
Description:
|
Description:
|
||||||
============
|
============
|
||||||
|
|
||||||
WebP Mux: library to create the MUX container object for features like
|
WebP Mux: library to create a WebP container object for features like
|
||||||
color profile, XMP metadata, animation & tiling. A reference command line
|
color profile, XMP metadata, animation & tiling. A reference command line
|
||||||
tool 'webpmux' and Mux container specification 'doc/webp-container-spec.txt'
|
tool 'webpmux' and WebP container specification 'doc/webp-container-spec.txt'
|
||||||
are also provided in this package.
|
are also provided in this package.
|
||||||
|
|
||||||
WebP Mux tool:
|
WebP Mux tool:
|
||||||
==============
|
==============
|
||||||
|
|
||||||
The examples/ directory contains a tool (webpmux) for manipulating the WebP Mux
|
The examples/ directory contains a tool (webpmux) for manipulating WebP
|
||||||
file. The webpmux tool can be used to create a WebP container file and to
|
files. The webpmux tool can be used to create a WebP container file and to
|
||||||
extract or strip relevant data from the container file.
|
extract or strip relevant data from the container file.
|
||||||
|
|
||||||
A list of options is available using the -help command line flag:
|
A list of options is available using the -help command line flag:
|
||||||
@ -64,13 +64,13 @@ INPUT & OUTPUT are in webp format.
|
|||||||
|
|
||||||
WebP Mux API:
|
WebP Mux API:
|
||||||
==============
|
==============
|
||||||
WebP Mux API contains methods for adding data to WebPMux (a MUX container object
|
The WebP Mux API contains methods for adding data to and reading data from
|
||||||
for a WebP file) and reading data from WebPMux. This API currently supports
|
WebPMux (a WebP container object). This API currently supports XMP metadata,
|
||||||
XMP metadata, Color profile, Animation & Tiling. Other features will be added
|
color profile, animation & tiling. Other features will be added in subsequent
|
||||||
in subsequent releases.
|
releases.
|
||||||
|
|
||||||
Example#1 (pseudo code): Creating a MUX with image data, color profile & XMP
|
Example#1 (pseudo code): Creating a WebPMux object with image data, color
|
||||||
metadata.
|
profile & XMP metadata.
|
||||||
|
|
||||||
int copy_data = 0;
|
int copy_data = 0;
|
||||||
WebPMux* mux = WebPMuxNew();
|
WebPMux* mux = WebPMuxNew();
|
||||||
@ -101,7 +101,7 @@ Example#2 (pseudo code): Get image & color profile data from a WebP file.
|
|||||||
free(data);
|
free(data);
|
||||||
|
|
||||||
|
|
||||||
For detailed MUX-API reference, please refer to the header file (src/webp/mux.h)
|
For detailed Mux API reference, please refer to the header file (src/webp/mux.h)
|
||||||
|
|
||||||
Bugs:
|
Bugs:
|
||||||
=====
|
=====
|
||||||
|
Loading…
Reference in New Issue
Block a user