Commit Graph
44 Commits
Author SHA1 Message Date
Nigel Tao 4503f2de63 Add test/data/json-things.*.json 2020-02-21 21:33:46 +11:00
Nigel Tao 621bd9505d Add script/draw-with-mask.go 2020-01-24 10:01:43 +11:00
Nigel Tao e2e51786a0 Add more test/data/*.wbmp files 2020-01-16 15:22:01 +11:00
Nigel Tao 3128500e20 Add script/convert-png-to-wbmp.go 2020-01-16 12:32:38 +11:00
Nigel Tao ab0b2fd2aa Add test/data/github-tags.json
wget -O github-tags.json https://api.github.com/repos/google/wuffs/tags
2020-01-10 16:29:23 +11:00
Nigel Tao 8ac2af0122 Change raczlib's dictionary wire format
This makes raczlib and raczstd use the same format: RAC's "common
dictionary format".

This is a breaking change to any existing RAC+Zlib files that use shared
dictionaries. RAC+Zlib is still an experimental (unstable) file format.
2019-10-24 10:47:48 +11:00
Nigel Tao dc1218fec0 Spell std/deflate's "literal/length" consistently 2019-10-14 09:28:28 +11:00
Nigel Tao ff7bffcffc Calculate deflate Huffman table worst case size 2019-10-14 09:21:29 +11:00
Nigel Tao 358ad7f918 Add an explicit deflate-etc.deflate.decompressed 2019-10-12 22:05:11 +11:00
Nigel Tao 18c6e5716a Fix deflate-etc.deflate.commentary.txt typo 2019-10-12 08:26:43 +11:00
Nigel Tao efb18036cb Add gif-small-frame-interlaced.gif test 2019-10-05 11:40:24 +10:00
Nigel Tao 15670546bb Let std/deflate decode a degenerate H-D table 2019-09-28 13:23:49 +10:00
Nigel Tao ca9015bd2d Have std/gif replicate interlaced rows 2019-09-14 08:35:50 +10:00
Nigel Tao f379f7f905 Fix parsing 0 length GIF metadata 2019-08-31 08:20:18 +10:00
Nigel Tao 874f5a1712 Add test/data/artificial/gif-no-frames.gif 2019-08-24 15:03:45 +10:00
Nigel Tao 9c8711f67c Move NII loop count from header to footer 2019-08-18 21:32:32 +10:00
Nigel Tao 635c3c8fe9 Rename foo.raczlib to foo.rac 2019-08-08 11:31:30 +10:00
Nigel Tao 89e5510b9a Add an example RAC file, copied from the spec 2019-08-07 15:04:18 +10:00
Nigel Tao 12347600f8 Add blockDynamicHuffman to script/make-artificial 2019-06-16 23:15:05 +10:00
Nigel Tao 6700c721c7 Add graphicControl disposal to make-artificial 2019-05-26 09:41:55 +10:00
Nigel Tao 5780b406dc Fix ignore_too_much_pixel_data infinite loop 2019-05-25 12:31:43 +10:00
Nigel Tao 0cc17985db Let flatecut accept a degenerate Huffman tree 2019-05-21 11:08:39 +10:00
Nigel Tao 31a2bc918e Let GIF decode an opaque but non-black background 2019-05-21 08:53:35 +10:00
Nigel Tao b1ff27fded Decode multiple graphic controls in a GIF 2019-05-12 22:02:39 +10:00
Nigel Tao d1133b105e Add gif-multiple-loop-counts comments 2019-05-11 09:58:23 +10:00
Nigel Tao 746681ea68 Add wuffs_gif__quirk_reject_empty_palette 2019-05-04 13:49:22 +10:00
Nigel Tao 941cecca8c Add wuffs_gif__quirk_image_bounds_are_strict 2019-05-04 12:19:52 +10:00
Nigel Tao 21f2890217 Report image metadata such as ICCP and XMP 2019-04-20 16:33:11 +10:00
Nigel Tao 3c254cb5f5 Rename gif "not enough / too much" data tests 2019-02-24 11:31:37 +11:00
Nigel Tao 917a94b445 Add "gif-pixel-data-none" test 2019-02-24 11:28:11 +11:00
Nigel Tao d7f434c6e4 Have the GIF decoder check for "not enough data"
Fixes #20
2019-02-23 14:29:16 +11:00
Nigel Tao 463079dd50 Add some NIE examples 2019-02-09 08:00:05 +11:00
Nigel Tao 11a6819be9 Add a deflate distance-code-31 test 2019-02-02 13:04:09 +11:00
Nigel Tao 6c5d7806bf Fix comment typo 2018-12-16 07:27:02 +11:00
Nigel Tao 8d7bd36179 Add more GIF benchmarks
The existing benchmarks decoded realistic photos. The new benchmarks
also decode artificially generated images, which compress better.

Also adjust script/extract-giflzw.go to optionally analyze and print a
histogram of LZW code emission lengths. "Compresses better" is highly
correlated with "a lower proportion of literal (1 length) codes".
2018-10-21 11:46:37 +11:00
Nigel Tao 7be9c39283 Move num_loops out of the image_config
For the GIF format, it isn't necessarily before the first frame.
2018-10-13 17:00:45 +11:00
Nigel Tao 36fd9cfd31 Add comment on how we handle out-of-bound frames 2018-10-13 15:56:45 +11:00
Nigel Tao 11c8917a4c Clip a frame's bounds to the image bounds 2018-09-08 08:02:47 +10:00
Nigel Tao b2b3593537 Decode interlaced GIFs 2018-06-09 07:46:07 +10:00
Nigel Tao b926cd1d02 Add test/data/hippopotamus.* images 2018-05-28 10:47:33 +10:00
Nigel Tao 34cfc3f863 Have std/gif's palettes be BGRA, not RGB 2018-05-24 10:33:02 +10:00
Nigel Tao 981bf19ad8 Add test/data/artificial GIF data 2018-05-23 12:20:45 +10:00
Nigel Tao f11e1f97c6 Add deflate-distance-32768 test case 2018-03-21 12:32:51 +11:00
Nigel Tao d1399fac19 Rename test/testdata to test/data 2018-03-16 10:48:33 +11:00