1          __   __  ____  ____  ____
2         /  \\/  \/  _ \/  _ )/  _ \
3         \       /   __/  _  \   __/
4          \__\__/\____/\_____/__/ _________   ____ ____
5               \    \ /  _ \/ _/ /    \    \ /  _ \  _ \
6               /   \ \   __/  \_/   / /   \ \   __/    /_
7               \_____/_____/____/____/\_____/_____/_/\__/v0.1
8             
9Description:
10============
11
12WEBP decoder: libwebpdecode.so is a simple library for
13decoding WEBP image files. 
14
15See http://code.google.com/speed/webp
16
17
18It is released under the same license as the WebM project.
19See http://www.webmproject.org/license/software/ or the
20file "COPYING" file for details. An additional intellectual
21property rights grant can be found in the file PATENTS.
22
23
24API:
25====
26
27This is mainly just one function to call, so just have a look at
28the file src/webp/decode.h for the details and variants:
29
30#include "webp/decode.h"
31uint8_t* WebPDecodeRGB(const uint8_t* data, uint32_t data_size,
32                       int *width, int *height);
33
34A lower-level API is available from the header file <webp/decode_vp8.h>
35
36
37Building:
38=========
39
40If everything goes right, then:
41
42./configure
43make
44make install
45
46should be all you need to have the following files
47
48/usr/local/include/webp/decode.h
49/usr/local/include/webp/decode_vp8.h
50/usr/local/lib/libwebpdecode.*
51
52installed.
53
54
55Decoding example:
56=================
57
58there's a decoding example in example/dwebp.c which will take a .webp file and
59decode it to a PPM image file. This is simply to demonstrate use of the API.
60You can verify the file test.webp decodes to exactly the same as test_ref.ppm:
61  `cd examples && ./dwebp test.webp -o test.ppm && diff test.ppm test_ref.ppm`
62
63Bugs:
64=====
65
66Please report all bugs to our issue tracker:
67    http://code.google.com/p/webp/issues
68Patches welcome! See this page to get started:
69    http://www.webmproject.org/code/contribute/submitting-patches/
70
71Discuss:
72========
73
74Email: webp-discuss@webmproject.org
75