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