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".
This commit is contained in:
Nigel Tao committed 2018-10-21 11:46:37 +11:00
1 parent 6945bdc75c
commit 8d7bd36179
19 files changed
+521 -40

No files matched your search

+8 -2
View File
@@ -41,11 +41,17 @@ hat.\* are various encodings of a photo of "Self-Portrait with a Straw Hat
Museum of art. `http://www.metmuseum.org/art/collection/search/436532` lists
that image as in the public domain.
hibiscus.\* are various encodings of a photo of "Hibiscus and Parrots" by Louis
Comfort Tiffany, held by the Metropolitan Museum of Art.
hibiscus.regular.\* are various encodings of a photo of "Hibiscus and Parrots"
by Louis Comfort Tiffany, held by the Metropolitan Museum of Art.
`http://www.metmuseum.org/art/collection/search/13503` lists that image as in
the public domain.
hibiscus.primitive.\* is the result of running the hibiscus.regular.png image
through `github.com/fogleman/primitive` and other programs:
- `primitive -i hibiscus.regular.png -o hibiscus.primitive.svg -s 442 -n 32`
- `inkscape -z -e hibiscus.primitive.png hibiscus.primitive.svg`
- Various invocations of `convert` and `cwebp`
hippopotamus.\* are various encodings of a cropping of a photo of "Hippopotamus
(William)", held by the Metropolitan Museum of Art.
`http://www.metmuseum.org/art/collection/search/544227` lists that image as in