Commit Graph
33 Commits
Author SHA1 Message Date
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