Compare commits

...

2 Commits

Author SHA1 Message Date
577f8c0d92
Fix inconsistent indentation
VIM has a stupid default configuration for this file.
2021-12-15 06:48:17 +01:00
4d8165d790
Add some WebP notes 2021-12-15 06:15:41 +01:00
3 changed files with 6 additions and 1 deletions

View File

@ -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) {

View File

@ -1,5 +1,5 @@
option('libraw', type : 'feature', value : 'auto',
description : 'Build with raw photo support, requires LibRaw')
description : 'Build with raw photo support, requires LibRaw')
option('librsvg', type : 'feature', value : 'auto',
description : 'Build with SVG support, requires librsvg')
option('xcursor', type : 'feature', value : 'auto',

View File

@ -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)