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".
No files matched your search
@@ -16,20 +16,37 @@
|
|||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
// extract-giflzw.go extracts the LZW-compressed block data in a GIF image. The
|
// extract-giflzw.go extracts or analyzes the LZW-compressed block data in a
|
||||||
// initial byte in each written file is the LZW literal width.
|
// GIF image.
|
||||||
//
|
//
|
||||||
// Usage: go run extract-giflzw.go foo.gif bar.gif
|
// - Add the "-extract" flag to write the LZW data to a file. The initial
|
||||||
|
// byte in each written file is the LZW literal width.
|
||||||
|
//
|
||||||
|
// - Add the "-histogram" flag to print emission length histograms instead of
|
||||||
|
// writing out *.indexes.giflzw files.
|
||||||
|
//
|
||||||
|
// Add the optional "-allframes" flag to process all frames of an animated GIF,
|
||||||
|
// not just the first frame. It applies to both -extract and -histogram.
|
||||||
|
//
|
||||||
|
// Usage: go run extract-giflzw.go -extract foo.gif bar.gif
|
||||||
|
// go run extract-giflzw.go -histogram -allframes foo.gif bar.gif
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"compress/lzw"
|
"compress/lzw"
|
||||||
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
allframesFlag = flag.Bool("allframes", false, "process all frames, not just the first")
|
||||||
|
extractFlag = flag.Bool("extract", false, "write LZW data to a file")
|
||||||
|
histogramFlag = flag.Bool("histogram", false, "print emission length histograms")
|
||||||
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if err := main1(); err != nil {
|
if err := main1(); err != nil {
|
||||||
os.Stderr.WriteString(err.Error() + "\n")
|
os.Stderr.WriteString(err.Error() + "\n")
|
||||||
@@ -38,24 +55,67 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main1() error {
|
func main1() error {
|
||||||
for _, a := range os.Args[1:] {
|
flag.Parse()
|
||||||
data, err := decode(a)
|
if !*extractFlag && !*histogramFlag {
|
||||||
|
return fmt.Errorf("none of -extract or -histogram given")
|
||||||
|
}
|
||||||
|
|
||||||
|
for argIndex, arg := range flag.Args() {
|
||||||
|
frames, err := extractLZWFrames(arg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// As a sanity check, the result should be valid LZW.
|
|
||||||
if err := checkLZW(data); err != nil {
|
if *histogramFlag {
|
||||||
return err
|
which := "first frame"
|
||||||
|
if *allframesFlag {
|
||||||
|
which = "all frames"
|
||||||
|
}
|
||||||
|
fmt.Printf("\n%s (%s)\n", arg, which)
|
||||||
|
|
||||||
|
histogramTotal = 0
|
||||||
|
for i := range histogram {
|
||||||
|
histogram[i] = 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
b := a[:len(a)-len(filepath.Ext(a))]
|
|
||||||
if err := ioutil.WriteFile(b+".indexes.giflzw", data, 0644); err != nil {
|
for frameIndex, frame := range frames {
|
||||||
return err
|
if err := checkLZW(frame); err != nil {
|
||||||
|
fmt.Printf("Warning: frame #%d: %v\n", frameIndex, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if *extractFlag {
|
||||||
|
filename := arg[:len(arg)-len(filepath.Ext(arg))]
|
||||||
|
if *allframesFlag {
|
||||||
|
filename = fmt.Sprintf("%s-frame-%03d", filename, argIndex)
|
||||||
|
}
|
||||||
|
filename += ".indexes.giflzw"
|
||||||
|
if err := ioutil.WriteFile(filename, frame, 0644); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if *histogramFlag {
|
||||||
|
// Ignore any LZW format errors. Decode as much as we can.
|
||||||
|
_ = buildHistogram(frame)
|
||||||
|
}
|
||||||
|
|
||||||
|
if !*allframesFlag {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if *histogramFlag {
|
||||||
|
fmt.Printf(" Percent Count Emission_Length_Bucket\n")
|
||||||
|
for i, h := range histogram {
|
||||||
|
percent := float64(100*h) / float64(histogramTotal)
|
||||||
|
fmt.Printf(" %6.2f %6d %s\n", percent, h, bucketNames[i])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func decode(filename string) (ret []byte, err error) {
|
func extractLZWFrames(filename string) (ret [][]byte, err error) {
|
||||||
src, err := ioutil.ReadFile(filename)
|
src, err := ioutil.ReadFile(filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -79,7 +139,6 @@ func decode(filename string) (ret []byte, err error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
seenID := false
|
|
||||||
for len(src) > 0 {
|
for len(src) > 0 {
|
||||||
switch src[0] {
|
switch src[0] {
|
||||||
case sExtension:
|
case sExtension:
|
||||||
@@ -91,11 +150,7 @@ func decode(filename string) (ret []byte, err error) {
|
|||||||
if src, compressed, err = readImageDescriptor(src[1:]); err != nil {
|
if src, compressed, err = readImageDescriptor(src[1:]); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
// For an animated GIF, take only the first frame.
|
ret = append(ret, compressed)
|
||||||
if !seenID {
|
|
||||||
seenID = true
|
|
||||||
ret = compressed
|
|
||||||
}
|
|
||||||
case sTrailer:
|
case sTrailer:
|
||||||
if len(src) != 1 {
|
if len(src) != 1 {
|
||||||
return nil, fmt.Errorf("extraneous data after GIF trailer section")
|
return nil, fmt.Errorf("extraneous data after GIF trailer section")
|
||||||
@@ -176,11 +231,11 @@ func readBlockData(src []byte, ret []byte) (src1 []byte, ret1 []byte, err error)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkLZW(x []byte) error {
|
func checkLZW(data []byte) error {
|
||||||
if len(x) == 0 {
|
if len(data) == 0 {
|
||||||
return fmt.Errorf("missing GIF literal width")
|
return fmt.Errorf("missing GIF literal width")
|
||||||
}
|
}
|
||||||
rc := lzw.NewReader(bytes.NewReader(x[1:]), lzw.LSB, int(x[0]))
|
rc := lzw.NewReader(bytes.NewReader(data[1:]), lzw.LSB, int(data[0]))
|
||||||
defer rc.Close()
|
defer rc.Close()
|
||||||
_, err := ioutil.ReadAll(rc)
|
_, err := ioutil.ReadAll(rc)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -189,6 +244,126 @@ func checkLZW(x []byte) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const numBuckets = 14
|
||||||
|
|
||||||
|
var (
|
||||||
|
histogramTotal = uint32(0)
|
||||||
|
histogram = [numBuckets]uint32{}
|
||||||
|
bucketNames = [numBuckets]string{
|
||||||
|
" 1 (Literal Code)",
|
||||||
|
" 2",
|
||||||
|
" 3",
|
||||||
|
" 4",
|
||||||
|
" 5",
|
||||||
|
" 6",
|
||||||
|
" 7",
|
||||||
|
" 8",
|
||||||
|
" 9 .. 16",
|
||||||
|
" 17 .. 32",
|
||||||
|
" 33 .. 64",
|
||||||
|
" 65 .. 128",
|
||||||
|
"127 .. 256",
|
||||||
|
"256+ ",
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
func bucket(emissionLength uint32) uint32 {
|
||||||
|
switch {
|
||||||
|
case emissionLength <= 0:
|
||||||
|
panic("bad emissionLength")
|
||||||
|
case emissionLength <= 8:
|
||||||
|
return emissionLength - 1
|
||||||
|
case emissionLength <= 16:
|
||||||
|
return 8
|
||||||
|
case emissionLength <= 32:
|
||||||
|
return 9
|
||||||
|
case emissionLength <= 64:
|
||||||
|
return 10
|
||||||
|
case emissionLength <= 128:
|
||||||
|
return 11
|
||||||
|
case emissionLength <= 256:
|
||||||
|
return 12
|
||||||
|
default:
|
||||||
|
return 13
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func buildHistogram(data []byte) error {
|
||||||
|
if len(data) == 0 {
|
||||||
|
return fmt.Errorf("missing GIF literal width")
|
||||||
|
}
|
||||||
|
|
||||||
|
literalWidth, data := uint32(data[0]), data[1:]
|
||||||
|
clearCode := uint32(1) << literalWidth
|
||||||
|
endCode := clearCode + 1
|
||||||
|
|
||||||
|
saveCode := endCode
|
||||||
|
prevCode := uint32(0)
|
||||||
|
width := literalWidth + 1
|
||||||
|
|
||||||
|
prefixes := [4096]uint32{}
|
||||||
|
emissionLengths := [4096]uint32{}
|
||||||
|
for i := uint32(0); i < clearCode; i++ {
|
||||||
|
emissionLengths[i] = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
bits := uint32(0)
|
||||||
|
nBits := uint32(0)
|
||||||
|
|
||||||
|
for {
|
||||||
|
for nBits < width {
|
||||||
|
if len(data) == 0 {
|
||||||
|
return fmt.Errorf("bad LZW data: short read")
|
||||||
|
}
|
||||||
|
bits |= uint32(data[0]) << nBits
|
||||||
|
data = data[1:]
|
||||||
|
nBits += 8
|
||||||
|
}
|
||||||
|
|
||||||
|
code := bits & ((uint32(1) << width) - 1)
|
||||||
|
bits >>= width
|
||||||
|
nBits -= width
|
||||||
|
|
||||||
|
if code < clearCode {
|
||||||
|
// Literal, emitting exactly 1 byte.
|
||||||
|
|
||||||
|
} else if code == clearCode {
|
||||||
|
saveCode = endCode
|
||||||
|
prevCode = 0
|
||||||
|
width = literalWidth + 1
|
||||||
|
continue
|
||||||
|
|
||||||
|
} else if code == endCode {
|
||||||
|
break
|
||||||
|
|
||||||
|
} else if code <= saveCode {
|
||||||
|
// Copy, emitting 2 or more bytes.
|
||||||
|
|
||||||
|
} else {
|
||||||
|
return fmt.Errorf("bad LZW data: code out of range")
|
||||||
|
}
|
||||||
|
|
||||||
|
n := emissionLengths[code]
|
||||||
|
if code == saveCode {
|
||||||
|
n = emissionLengths[prevCode] + 1
|
||||||
|
}
|
||||||
|
histogram[bucket(n)]++
|
||||||
|
histogramTotal++
|
||||||
|
|
||||||
|
if saveCode <= 4095 {
|
||||||
|
prefixes[saveCode] = prevCode
|
||||||
|
emissionLengths[saveCode] = emissionLengths[prevCode] + 1
|
||||||
|
saveCode++
|
||||||
|
if (saveCode == (1 << width)) && (width < 12) {
|
||||||
|
width++
|
||||||
|
}
|
||||||
|
prevCode = code
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// The constants below are intrinsic to the GIF file format. The spec is
|
// The constants below are intrinsic to the GIF file format. The spec is
|
||||||
// http://www.w3.org/Graphics/GIF/spec-gif89a.txt
|
// http://www.w3.org/Graphics/GIF/spec-gif89a.txt
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -1177,9 +1177,14 @@ const char* test_mimic_gif_decode_hat() {
|
|||||||
return do_test_mimic_gif_decode("../../data/hat.gif");
|
return do_test_mimic_gif_decode("../../data/hat.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* test_mimic_gif_decode_hibiscus() {
|
const char* test_mimic_gif_decode_hibiscus_primitive() {
|
||||||
CHECK_FOCUS(__func__);
|
CHECK_FOCUS(__func__);
|
||||||
return do_test_mimic_gif_decode("../../data/hibiscus.gif");
|
return do_test_mimic_gif_decode("../../data/hibiscus.primitive.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* test_mimic_gif_decode_hibiscus_regular() {
|
||||||
|
CHECK_FOCUS(__func__);
|
||||||
|
return do_test_mimic_gif_decode("../../data/hibiscus.regular.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* test_mimic_gif_decode_hippopotamus_interlaced() {
|
const char* test_mimic_gif_decode_hippopotamus_interlaced() {
|
||||||
@@ -1256,9 +1261,16 @@ const char* bench_wuffs_gif_decode_10k() {
|
|||||||
return do_bench_gif_decode(wuffs_gif_decode, "../../data/hat.gif", 100);
|
return do_bench_gif_decode(wuffs_gif_decode, "../../data/hat.gif", 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* bench_wuffs_gif_decode_100k() {
|
const char* bench_wuffs_gif_decode_100k_artificial() {
|
||||||
CHECK_FOCUS(__func__);
|
CHECK_FOCUS(__func__);
|
||||||
return do_bench_gif_decode(wuffs_gif_decode, "../../data/hibiscus.gif", 10);
|
return do_bench_gif_decode(wuffs_gif_decode,
|
||||||
|
"../../data/hibiscus.primitive.gif", 15);
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* bench_wuffs_gif_decode_100k_realistic() {
|
||||||
|
CHECK_FOCUS(__func__);
|
||||||
|
return do_bench_gif_decode(wuffs_gif_decode,
|
||||||
|
"../../data/hibiscus.regular.gif", 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* bench_wuffs_gif_decode_1000k() {
|
const char* bench_wuffs_gif_decode_1000k() {
|
||||||
@@ -1266,6 +1278,12 @@ const char* bench_wuffs_gif_decode_1000k() {
|
|||||||
return do_bench_gif_decode(wuffs_gif_decode, "../../data/harvesters.gif", 1);
|
return do_bench_gif_decode(wuffs_gif_decode, "../../data/harvesters.gif", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* bench_wuffs_gif_decode_anim_screencap() {
|
||||||
|
CHECK_FOCUS(__func__);
|
||||||
|
return do_bench_gif_decode(wuffs_gif_decode,
|
||||||
|
"../../data/gifplayer-muybridge.gif", 1);
|
||||||
|
}
|
||||||
|
|
||||||
// ---------------- Mimic Benches
|
// ---------------- Mimic Benches
|
||||||
|
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
@@ -1287,9 +1305,16 @@ const char* bench_mimic_gif_decode_10k() {
|
|||||||
return do_bench_gif_decode(mimic_gif_decode, "../../data/hat.gif", 100);
|
return do_bench_gif_decode(mimic_gif_decode, "../../data/hat.gif", 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* bench_mimic_gif_decode_100k() {
|
const char* bench_mimic_gif_decode_100k_artificial() {
|
||||||
CHECK_FOCUS(__func__);
|
CHECK_FOCUS(__func__);
|
||||||
return do_bench_gif_decode(mimic_gif_decode, "../../data/hibiscus.gif", 10);
|
return do_bench_gif_decode(mimic_gif_decode,
|
||||||
|
"../../data/hibiscus.primitive.gif", 15);
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* bench_mimic_gif_decode_100k_realistic() {
|
||||||
|
CHECK_FOCUS(__func__);
|
||||||
|
return do_bench_gif_decode(mimic_gif_decode,
|
||||||
|
"../../data/hibiscus.regular.gif", 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* bench_mimic_gif_decode_1000k() {
|
const char* bench_mimic_gif_decode_1000k() {
|
||||||
@@ -1297,6 +1322,12 @@ const char* bench_mimic_gif_decode_1000k() {
|
|||||||
return do_bench_gif_decode(mimic_gif_decode, "../../data/harvesters.gif", 1);
|
return do_bench_gif_decode(mimic_gif_decode, "../../data/harvesters.gif", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* bench_mimic_gif_decode_anim_screencap() {
|
||||||
|
CHECK_FOCUS(__func__);
|
||||||
|
return do_bench_gif_decode(mimic_gif_decode,
|
||||||
|
"../../data/gifplayer-muybridge.gif", 1);
|
||||||
|
}
|
||||||
|
|
||||||
#endif // WUFFS_MIMIC
|
#endif // WUFFS_MIMIC
|
||||||
|
|
||||||
// ---------------- Manifest
|
// ---------------- Manifest
|
||||||
@@ -1341,7 +1372,8 @@ proc tests[] = {
|
|||||||
test_mimic_gif_decode_gifplayer_muybridge, //
|
test_mimic_gif_decode_gifplayer_muybridge, //
|
||||||
test_mimic_gif_decode_harvesters, //
|
test_mimic_gif_decode_harvesters, //
|
||||||
test_mimic_gif_decode_hat, //
|
test_mimic_gif_decode_hat, //
|
||||||
test_mimic_gif_decode_hibiscus, //
|
test_mimic_gif_decode_hibiscus_primitive, //
|
||||||
|
test_mimic_gif_decode_hibiscus_regular, //
|
||||||
test_mimic_gif_decode_hippopotamus_interlaced, //
|
test_mimic_gif_decode_hippopotamus_interlaced, //
|
||||||
test_mimic_gif_decode_hippopotamus_regular, //
|
test_mimic_gif_decode_hippopotamus_regular, //
|
||||||
test_mimic_gif_decode_muybridge, //
|
test_mimic_gif_decode_muybridge, //
|
||||||
@@ -1355,19 +1387,23 @@ proc tests[] = {
|
|||||||
// The empty comments forces clang-format to place one element per line.
|
// The empty comments forces clang-format to place one element per line.
|
||||||
proc benches[] = {
|
proc benches[] = {
|
||||||
|
|
||||||
bench_wuffs_gif_decode_1k_bw, //
|
bench_wuffs_gif_decode_1k_bw, //
|
||||||
bench_wuffs_gif_decode_1k_color, //
|
bench_wuffs_gif_decode_1k_color, //
|
||||||
bench_wuffs_gif_decode_10k, //
|
bench_wuffs_gif_decode_10k, //
|
||||||
bench_wuffs_gif_decode_100k, //
|
bench_wuffs_gif_decode_100k_artificial, //
|
||||||
bench_wuffs_gif_decode_1000k, //
|
bench_wuffs_gif_decode_100k_realistic, //
|
||||||
|
bench_wuffs_gif_decode_1000k, //
|
||||||
|
bench_wuffs_gif_decode_anim_screencap, //
|
||||||
|
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
|
|
||||||
bench_mimic_gif_decode_1k_bw, //
|
bench_mimic_gif_decode_1k_bw, //
|
||||||
bench_mimic_gif_decode_1k_color, //
|
bench_mimic_gif_decode_1k_color, //
|
||||||
bench_mimic_gif_decode_10k, //
|
bench_mimic_gif_decode_10k, //
|
||||||
bench_mimic_gif_decode_100k, //
|
bench_mimic_gif_decode_100k_artificial, //
|
||||||
bench_mimic_gif_decode_1000k, //
|
bench_mimic_gif_decode_100k_realistic, //
|
||||||
|
bench_mimic_gif_decode_1000k, //
|
||||||
|
bench_mimic_gif_decode_anim_screencap, //
|
||||||
|
|
||||||
#endif // WUFFS_MIMIC
|
#endif // WUFFS_MIMIC
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
Museum of art. `http://www.metmuseum.org/art/collection/search/436532` lists
|
||||||
that image as in the public domain.
|
that image as in the public domain.
|
||||||
|
|
||||||
hibiscus.\* are various encodings of a photo of "Hibiscus and Parrots" by Louis
|
hibiscus.regular.\* are various encodings of a photo of "Hibiscus and Parrots"
|
||||||
Comfort Tiffany, held by the Metropolitan Museum of Art.
|
by Louis Comfort Tiffany, held by the Metropolitan Museum of Art.
|
||||||
`http://www.metmuseum.org/art/collection/search/13503` lists that image as in
|
`http://www.metmuseum.org/art/collection/search/13503` lists that image as in
|
||||||
the public domain.
|
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
|
hippopotamus.\* are various encodings of a cropping of a photo of "Hippopotamus
|
||||||
(William)", held by the Metropolitan Museum of Art.
|
(William)", held by the Metropolitan Museum of Art.
|
||||||
`http://www.metmuseum.org/art/collection/search/544227` lists that image as in
|
`http://www.metmuseum.org/art/collection/search/544227` lists that image as in
|
||||||
|
|||||||
@@ -0,0 +1,227 @@
|
|||||||
|
# To reproduce this analysis:
|
||||||
|
#
|
||||||
|
# cd ..
|
||||||
|
# go run ../../script/extract-giflzw.go -histogram -allframes *.gif > analysis/giflzw-emission-lengths.txt
|
||||||
|
|
||||||
|
animated-red-blue.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
49.23 542 1 (Literal Code)
|
||||||
|
5.27 58 2
|
||||||
|
6.36 70 3
|
||||||
|
5.99 66 4
|
||||||
|
4.18 46 5
|
||||||
|
3.54 39 6
|
||||||
|
2.45 27 7
|
||||||
|
1.73 19 8
|
||||||
|
9.36 103 9 .. 16
|
||||||
|
7.18 79 17 .. 32
|
||||||
|
4.72 52 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
bricks-dither.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
45.58 4853 1 (Literal Code)
|
||||||
|
35.89 3821 2
|
||||||
|
13.23 1409 3
|
||||||
|
3.82 407 4
|
||||||
|
1.04 111 5
|
||||||
|
0.31 33 6
|
||||||
|
0.08 9 7
|
||||||
|
0.02 2 8
|
||||||
|
0.02 2 9 .. 16
|
||||||
|
0.00 0 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
bricks-gray.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
47.34 4980 1 (Literal Code)
|
||||||
|
31.91 3357 2
|
||||||
|
14.30 1504 3
|
||||||
|
4.53 476 4
|
||||||
|
1.34 141 5
|
||||||
|
0.42 44 6
|
||||||
|
0.14 15 7
|
||||||
|
0.02 2 8
|
||||||
|
0.00 0 9 .. 16
|
||||||
|
0.00 0 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
bricks-nodither.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
41.39 3982 1 (Literal Code)
|
||||||
|
32.93 3168 2
|
||||||
|
16.13 1552 3
|
||||||
|
5.93 570 4
|
||||||
|
2.21 213 5
|
||||||
|
0.95 91 6
|
||||||
|
0.31 30 7
|
||||||
|
0.09 9 8
|
||||||
|
0.05 5 9 .. 16
|
||||||
|
0.00 0 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
gifplayer-muybridge.gif (all frames)
|
||||||
|
Warning: frame #60: block data is not valid LZW: unexpected EOF
|
||||||
|
Warning: frame #89: block data is not valid LZW: unexpected EOF
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
12.78 34658 1 (Literal Code)
|
||||||
|
14.05 38106 2
|
||||||
|
13.25 35937 3
|
||||||
|
10.59 28707 4
|
||||||
|
7.85 21286 5
|
||||||
|
6.08 16481 6
|
||||||
|
4.85 13156 7
|
||||||
|
3.60 9764 8
|
||||||
|
9.34 25318 9 .. 16
|
||||||
|
4.89 13257 17 .. 32
|
||||||
|
4.78 12954 33 .. 64
|
||||||
|
4.72 12806 65 .. 128
|
||||||
|
3.02 8190 127 .. 256
|
||||||
|
0.20 550 256+
|
||||||
|
|
||||||
|
harvesters.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
46.73 269145 1 (Literal Code)
|
||||||
|
39.51 227566 2
|
||||||
|
10.13 58353 3
|
||||||
|
2.39 13766 4
|
||||||
|
0.71 4106 5
|
||||||
|
0.26 1509 6
|
||||||
|
0.11 622 7
|
||||||
|
0.05 291 8
|
||||||
|
0.08 485 9 .. 16
|
||||||
|
0.02 100 17 .. 32
|
||||||
|
0.01 57 33 .. 64
|
||||||
|
0.00 1 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
hat.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
80.52 6758 1 (Literal Code)
|
||||||
|
19.03 1597 2
|
||||||
|
0.39 33 3
|
||||||
|
0.01 1 4
|
||||||
|
0.01 1 5
|
||||||
|
0.01 1 6
|
||||||
|
0.02 2 7
|
||||||
|
0.00 0 8
|
||||||
|
0.00 0 9 .. 16
|
||||||
|
0.00 0 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
hibiscus.primitive.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
25.86 5566 1 (Literal Code)
|
||||||
|
19.05 4100 2
|
||||||
|
11.30 2433 3
|
||||||
|
7.30 1571 4
|
||||||
|
5.43 1168 5
|
||||||
|
4.34 934 6
|
||||||
|
3.23 695 7
|
||||||
|
2.55 548 8
|
||||||
|
11.13 2396 9 .. 16
|
||||||
|
6.81 1466 17 .. 32
|
||||||
|
2.89 623 33 .. 64
|
||||||
|
0.10 22 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
hibiscus.regular.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
47.48 37363 1 (Literal Code)
|
||||||
|
36.43 28663 2
|
||||||
|
11.91 9370 3
|
||||||
|
2.94 2311 4
|
||||||
|
0.81 637 5
|
||||||
|
0.22 177 6
|
||||||
|
0.09 74 7
|
||||||
|
0.04 31 8
|
||||||
|
0.06 50 9 .. 16
|
||||||
|
0.02 14 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
hippopotamus.interlaced.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
82.56 672 1 (Literal Code)
|
||||||
|
13.02 106 2
|
||||||
|
3.19 26 3
|
||||||
|
0.74 6 4
|
||||||
|
0.25 2 5
|
||||||
|
0.25 2 6
|
||||||
|
0.00 0 7
|
||||||
|
0.00 0 8
|
||||||
|
0.00 0 9 .. 16
|
||||||
|
0.00 0 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
hippopotamus.regular.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
82.66 672 1 (Literal Code)
|
||||||
|
13.04 106 2
|
||||||
|
2.83 23 3
|
||||||
|
0.86 7 4
|
||||||
|
0.37 3 5
|
||||||
|
0.25 2 6
|
||||||
|
0.00 0 7
|
||||||
|
0.00 0 8
|
||||||
|
0.00 0 9 .. 16
|
||||||
|
0.00 0 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
muybridge.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
80.23 5863 1 (Literal Code)
|
||||||
|
16.80 1228 2
|
||||||
|
2.63 192 3
|
||||||
|
0.27 20 4
|
||||||
|
0.07 5 5
|
||||||
|
0.00 0 6
|
||||||
|
0.00 0 7
|
||||||
|
0.00 0 8
|
||||||
|
0.00 0 9 .. 16
|
||||||
|
0.00 0 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
|
||||||
|
pjw-thumbnail.gif (all frames)
|
||||||
|
Percent Count Emission_Length_Bucket
|
||||||
|
2.80 4 1 (Literal Code)
|
||||||
|
5.59 8 2
|
||||||
|
8.39 12 3
|
||||||
|
11.19 16 4
|
||||||
|
10.49 15 5
|
||||||
|
9.09 13 6
|
||||||
|
9.79 14 7
|
||||||
|
8.39 12 8
|
||||||
|
32.17 46 9 .. 16
|
||||||
|
2.10 3 17 .. 32
|
||||||
|
0.00 0 33 .. 64
|
||||||
|
0.00 0 65 .. 128
|
||||||
|
0.00 0 127 .. 256
|
||||||
|
0.00 0 256+
|
||||||
|
After Width: | Height: | Size: 539 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 44 KiB |
@@ -0,0 +1,37 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="312" height="442">
|
||||||
|
<rect x="0" y="0" width="312" height="442" fill="#7a754d" />
|
||||||
|
<g transform="scale(1.726562) translate(0.5 0.5)">
|
||||||
|
<polygon fill="#fbe59c" fill-opacity="0.501961" points="16,11 131,15 13,174" />
|
||||||
|
<polygon fill="#fff1c2" fill-opacity="0.501961" points="164,201 169,63 74,173" />
|
||||||
|
<polygon fill="#121f15" fill-opacity="0.501961" points="44,141 190,271 -16,253" />
|
||||||
|
<polygon fill="#001b35" fill-opacity="0.501961" points="148,158 98,71 48,98" />
|
||||||
|
<polygon fill="#000000" fill-opacity="0.501961" points="196,110 168,199 171,11" />
|
||||||
|
<polygon fill="#000000" fill-opacity="0.501961" points="-16,111 11,205 11,23" />
|
||||||
|
<polygon fill="#4b3c00" fill-opacity="0.501961" points="-16,39 93,79 7,-16" />
|
||||||
|
<polygon fill="#000000" fill-opacity="0.501961" points="52,-16 -16,13 147,8" />
|
||||||
|
<polygon fill="#000000" fill-opacity="0.501961" points="171,128 196,230 167,271" />
|
||||||
|
<polygon fill="#c6c320" fill-opacity="0.501961" points="116,11 168,10 168,133" />
|
||||||
|
<polygon fill="#f3e4d2" fill-opacity="0.501961" points="11,67 55,55 25,181" />
|
||||||
|
<polygon fill="#f9f2ec" fill-opacity="0.501961" points="77,12 135,26 71,61" />
|
||||||
|
<polygon fill="#f1d8bc" fill-opacity="0.501961" points="87,195 159,151 80,146" />
|
||||||
|
<polygon fill="#9b9036" fill-opacity="0.501961" points="13,205 15,242 141,240" />
|
||||||
|
<polygon fill="#fff2e2" fill-opacity="0.501961" points="115,106 155,97 155,151" />
|
||||||
|
<polygon fill="#000000" fill-opacity="0.501961" points="111,-1 184,-16 196,19" />
|
||||||
|
<polygon fill="#000003" fill-opacity="0.501961" points="-16,234 144,249 18,271" />
|
||||||
|
<polygon fill="#f3e06b" fill-opacity="0.501961" points="100,133 48,138 52,105" />
|
||||||
|
<polygon fill="#00000c" fill-opacity="0.501961" points="10,143 -16,174 11,271" />
|
||||||
|
<polygon fill="#00213f" fill-opacity="0.501961" points="23,171 64,141 97,239" />
|
||||||
|
<polygon fill="#ffe610" fill-opacity="0.501961" points="116,107 171,87 108,90" />
|
||||||
|
<polygon fill="#cfb32e" fill-opacity="0.501961" points="8,11 92,12 60,47" />
|
||||||
|
<polygon fill="#002250" fill-opacity="0.501961" points="95,71 74,95 154,85" />
|
||||||
|
<polygon fill="#707625" fill-opacity="0.501961" points="78,241 160,243 170,173" />
|
||||||
|
<polygon fill="#2b4a4b" fill-opacity="0.501961" points="138,136 65,55 118,159" />
|
||||||
|
<polygon fill="#100016" fill-opacity="0.501961" points="10,132 -16,31 12,-16" />
|
||||||
|
<polygon fill="#fcebec" fill-opacity="0.501961" points="143,198 122,174 161,169" />
|
||||||
|
<polygon fill="#1b0611" fill-opacity="0.501961" points="196,76 170,166 172,-16" />
|
||||||
|
<polygon fill="#9fa041" fill-opacity="0.501961" points="40,208 13,197 24,152" />
|
||||||
|
<polygon fill="#889023" fill-opacity="0.501961" points="159,52 52,57 175,90" />
|
||||||
|
<polygon fill="#826815" fill-opacity="0.501961" points="103,149 35,122 36,147" />
|
||||||
|
<polygon fill="#b19c5d" fill-opacity="0.501961" points="125,157 75,181 93,198" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 404 KiB After Width: | Height: | Size: 404 KiB |
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 246 KiB |