libwebp/examples
Urvang Joshi d51f3e4069 gif2webp: Handle frames with missing graphic control extension
According to the GIF spec (http://www.w3.org/Graphics/GIF/spec-gif89a.txt),
this block is optional, and its scope is only the first graphic rendering block
that follows.

The spec doesn't mention what default values of frame dimensions, offsets,
duration and transparent index to use in such a case, though. So, we use the
defaults used by GIF reader in Chromium:
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h&l=186

Change-Id: Iecc6967847192483770e85ac15fe2835cd01ce7b
2014-09-11 14:35:21 -07:00
..
Android.mk examples/Android.mk: add cwebp 2014-06-17 23:41:12 -07:00
cwebp.c cwebp: (windows) open stdout in binary mode 2014-08-29 19:11:41 -07:00
dwebp.c example_util: add ExUtilSetBinaryMode 2014-08-29 19:07:17 -07:00
example_util.c ExUtilReadFromStdin: (windows) open stdin in bin mode 2014-08-29 19:25:46 -07:00
example_util.h example_util: add ExUtilSetBinaryMode 2014-08-29 19:07:17 -07:00
gif2webp_util.c make alpha-detection loop in IsKeyFrame() in good x/y order 2014-07-02 21:03:35 -07:00
gif2webp_util.h properly report back encoding error code in WebPFrameCacheAddFrame() 2014-06-11 23:26:47 +02:00
gif2webp.c gif2webp: Handle frames with missing graphic control extension 2014-09-11 14:35:21 -07: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 configure: move config.h to src/webp/config.h 2014-06-10 23:42:00 -07: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 try to remove the spurious warning for static analysis 2014-05-26 18:31:00 +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 dust up the help message 2014-06-20 07:13:11 +02: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: (windows) open stdout in binary mode 2014-08-29 19:25:45 -07:00
wicdec.c configure: move config.h to src/webp/config.h 2014-06-10 23:42:00 -07:00
wicdec.h simplify __cplusplus ifdef 2013-12-16 20:16:02 -08:00