add support for PNG output (default)

regularize include guards

Change-Id: Ia1d0fa49c8c98e2c11f775b839d04a24e5450170
This commit is contained in:
Pascal Massimino
2011-01-31 22:00:33 -08:00
parent 860641df3f
commit 1dc4611a3a
17 changed files with 714 additions and 54 deletions

5
README
View File

@@ -56,9 +56,10 @@ Decoding example:
=================
there's a decoding example in example/dwebp.c which will take a .webp file and
decode it to a PPM image file. This is simply to demonstrate use of the API.
decode it to a PNG image file. This is simply to demonstrate use of the API.
It also decodes to PPM (or even PGM) format.
You can verify the file test.webp decodes to exactly the same as test_ref.ppm:
`cd examples && ./dwebp test.webp -o test.ppm && diff test.ppm test_ref.ppm`
`cd examples && ./dwebp test.webp -ppm -o test.ppm && diff test.ppm test_ref.ppm`
Bugs:
=====