libwebp/examples
Vikas Arora 98c8138663 Enable Near-lossless feature.
Enable the WebP near-lossless feature by pre-processing the image to smoothen
the pixels.

On a 1000 PNG image corpus, for which WebP lossless (default settings) gets
25% compression gains, following is the performance of near-lossless feature
at various '-near_lossless' levels:
-near_lossless 90: 30% (very very high PSNR 54-60dB)
-near_lossless 75: 38% (very high PSNR 48-54dB)
-near_lossless 50: 45% (high PSNR 42-48dB)
-near_lossless 25: 48% (moderate PSNR 36-42dB)
-near_lossless 10: 50% (PSNR 30-36dB)

WebP near-lossless is specifically useful for discrete-tone images like
line-art, icons etc.

Change-Id: I7d12a2c9362ccd076d09710ea05c85fa64664c38
2015-01-29 16:10:20 -08:00
..
Android.mk examples/Android.mk: add cwebp 2014-06-17 23:41:12 -07:00
cwebp.c Enable Near-lossless feature. 2015-01-29 16:10:20 -08:00
dwebp.c dwebp/WritePNG: mark png variables volatile 2015-01-16 19:26:32 -08:00
example_util.c add code for testing random incremental decoding in dwebp 2014-10-16 17:01:32 +02:00
example_util.h examples: warn on invalid numeric parameters 2014-09-11 11:18:28 -07:00
gif2webp.c gif2webp: Move GIF decoding related code to a support library. 2015-01-13 17:07:33 -08:00
gifdec.c gif2webp: Move GIF decoding related code to a support library. 2015-01-13 17:07:33 -08:00
gifdec.h gif2webp: Move GIF decoding related code to a support library. 2015-01-13 17:07:33 -08:00
jpegdec.c JPEG decoder: delay conversion to YUV to WebPEncode() call 2014-07-21 22:26:22 +02:00
jpegdec.h simplify __cplusplus ifdef 2013-12-16 20:16:02 -08:00
Makefile.am gif2webp: Move GIF decoding related code to a support library. 2015-01-13 17:07:33 -08:00
metadata.c update copyright text 2013-06-06 23:09:14 -07:00
metadata.h simplify __cplusplus ifdef 2013-12-16 20:16:02 -08:00
pngdec.c configure: move config.h to src/webp/config.h 2014-06-10 23:42:00 -07:00
pngdec.h simplify __cplusplus ifdef 2013-12-16 20:16:02 -08:00
stopwatch.h stopwatch.h: fix includes 2014-10-22 17:25:41 +02:00
test_ref.ppm lot of cosmetics 2010-11-17 20:09:47 -08:00
test.webp remove INAM, ICOP, ... chunks from the test webp file. 2012-07-19 17:34:04 -07:00
tiffdec.c configure.ac: add AC_C_BIGENDIAN 2014-07-03 18:15:50 -07:00
tiffdec.h simplify __cplusplus ifdef 2013-12-16 20:16:02 -08:00
vwebp.c examples: warn on invalid numeric parameters 2014-09-11 11:18:28 -07:00
webpdec.c example_util: add ExUtilDecodeWebPIncremental 2014-04-27 01:58:25 -07:00
webpdec.h cwebp: add webpdec 2014-04-26 02:20:41 -07:00
webpmux.c webpmux: remove experimental fragment handling 2015-01-08 20:03:51 -08:00
wicdec.c wicdec: (msvs) quiet some /analyze warnings 2015-01-17 11:50:47 -08:00
wicdec.h simplify __cplusplus ifdef 2013-12-16 20:16:02 -08:00