Nigel Tao
42de49a938
Have make-artificial.go mark incomplete Huffman
2022-01-09 10:49:38 +11:00
Nigel Tao
92ea631055
Have make-artificial.go check canonical Huffman
2022-01-09 10:41:31 +11:00
Nigel Tao
f86c80e425
Fix std/deflate degenerate H-D Huffman table
...
RFC 1951 section 3.2.7. "Compression with dynamic Huffman codes
(BTYPE=10)" says, "If only one distance code is used, it is encoded
using one bit, not zero bits; in this case there is a single code length
of one, with one unused code."
I had previously mis-read that excerpt to also require that the sole
distance code was the shortest distance (code 0, a distance of 1).
Fixes #66
2022-01-08 13:57:34 +11:00
Nigel Tao
6c2a591e84
Let script/make-artificial.go generate PNG files
2021-11-16 11:08:04 +11:00
Nigel Tao
226c476994
Remove calls to Go's deprecated "io/ioutil"
2021-08-22 11:17:34 +10:00
Nigel Tao
788479dd64
Run "gofmt -w ." for new "//go:build" lines
2021-08-22 10:53:06 +10:00
Nigel Tao
6c2fb9a2fd
Tweak test/data/artif*/gif-transparent-index.gif
2020-09-27 00:09:25 +10:00
Nigel Tao
344123b179
Add test/data/artificial/gif-transparent-index.gif
2020-09-25 23:01:43 +10: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
efb18036cb
Add gif-small-frame-interlaced.gif test
2019-10-05 11:40:24 +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
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
746681ea68
Add wuffs_gif__quirk_reject_empty_palette
2019-05-04 13:49:22 +10:00
Nigel Tao
21f2890217
Report image metadata such as ICCP and XMP
2019-04-20 16:33:11 +10:00
Nigel Tao
11a6819be9
Add a deflate distance-code-31 test
2019-02-02 13:04:09 +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
981bf19ad8
Add test/data/artificial GIF data
2018-05-23 12:20:45 +10:00