diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-12-15 06:15:26 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-12-15 06:15:41 +0100 |
commit | 4d8165d790abeb5ed6db65ef5fefaa93d6a87f48 (patch) | |
tree | 1a431da13edf9be902e038b1c54c7147a58e510a | |
parent | c18404efee8d330cf30b1799fb1cefec722bf31d (diff) | |
download | fiv-4d8165d790abeb5ed6db65ef5fefaa93d6a87f48.tar.gz fiv-4d8165d790abeb5ed6db65ef5fefaa93d6a87f48.tar.xz fiv-4d8165d790abeb5ed6db65ef5fefaa93d6a87f48.zip |
Add some WebP notes
-rw-r--r-- | fastiv-io.c | 1 | ||||
-rw-r--r-- | tools/webpinfo.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/fastiv-io.c b/fastiv-io.c index 33ff9b8..330e716 100644 --- a/fastiv-io.c +++ b/fastiv-io.c @@ -1896,6 +1896,7 @@ fastiv_io_open_from_data(const char *data, size_t len, const gchar *path, } #endif // HAVE_XCURSOR -------------------------------------------------------- #ifdef HAVE_LIBWEBP //--------------------------------------------------------- + // TODO(p): https://github.com/google/wuffs/commit/4c04ac1 if ((surface = open_libwebp(data, len, path, error))) break; if (error) { diff --git a/tools/webpinfo.c b/tools/webpinfo.c index a138985..f3417f9 100644 --- a/tools/webpinfo.c +++ b/tools/webpinfo.c @@ -28,6 +28,10 @@ // https://github.com/webmproject/libwebp/blob/master/doc/webp-container-spec.txt // https://github.com/webmproject/libwebp/blob/master/doc/webp-lossless-bitstream-spec.txt // https://datatracker.ietf.org/doc/html/rfc6386 +// +// Pretty versions, hopefully not outdated: +// https://developers.google.com/speed/webp/docs/riff_container +// https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification static jv parse_webp(jv o, const uint8_t *p, size_t len) |