tree: d9dbe159b789604deaf1f153de9a56c7d232a6a7 [path history] [tgz]
  1. analysis/
  2. artificial/
  3. non-ascii/
  5. animated-red-blue.gif
  6. animated-red-blue.nia
  7. archive.7z
  9. archive.iso
  10. archive.rar
  11. archive.tar
  12. archive.tar.bz2
  13. archive.tar.gz
  15. australian-abc-local-stations.json
  16. australian-abc-local-stations.tokens
  17. bricks-color.bmp
  18. bricks-color.jpeg
  19. bricks-color.lossless.webp
  20. bricks-color.lossy.webp
  21. bricks-color.png
  22. bricks-color.tiff
  23. bricks-dither.bmp
  24. bricks-dither.gif
  25. bricks-dither.indexes
  26. bricks-dither.indexes.giflzw
  27. bricks-dither.lossless.webp
  28. bricks-dither.palette
  29. bricks-dither.png
  30. bricks-gray.bmp
  31. bricks-gray.gif
  32. bricks-gray.indexes
  33. bricks-gray.indexes.giflzw
  34. bricks-gray.jpeg
  35. bricks-gray.lossless.webp
  36. bricks-gray.lossy.webp
  38. bricks-gray.png
  39. bricks-gray.tiff
  40. bricks-nodither.bmp
  41. bricks-nodither.gif
  42. bricks-nodither.indexes
  43. bricks-nodither.indexes.giflzw
  44. bricks-nodither.lossless.webp
  45. bricks-nodither.palette
  46. bricks-nodither.png
  47. bricks-nodither.wbmp
  48. cbor-rfc-7049-examples.cbor
  49. cbor-rfc-7049-examples.sans-comments.json
  50. cbor-rfc-7049-examples.tokens
  51. cbor-rfc-7049-examples.with-comments.json
  52. crude-flag.nia
  53. crude-flag.nie
  54. crude-flag.nii
  55. file-sizes.json
  56. gifplayer-muybridge.gif
  57. github-tags.json
  58. harvesters.bmp
  59. harvesters.gif
  60. harvesters.jpeg
  61. harvesters.lossless.webp
  62. harvesters.lossy.webp
  63. harvesters.png
  64. harvesters.tiff
  65. hat.bmp
  66. hat.gif
  67. hat.jpeg
  68. hat.lossless.webp
  69. hat.lossy.webp
  70. hat.png
  71. hat.tiff
  72. hat.wbmp
  74. hibiscus.primitive.bmp
  75. hibiscus.primitive.gif
  76. hibiscus.primitive.jpeg
  77. hibiscus.primitive.lossless.webp
  78. hibiscus.primitive.lossy.webp
  79. hibiscus.primitive.png
  80. hibiscus.primitive.svg
  81. hibiscus.primitive.tiff
  82. hibiscus.regular.bmp
  83. hibiscus.regular.gif
  84. hibiscus.regular.jpeg
  85. hibiscus.regular.lossless.webp
  86. hibiscus.regular.lossy.webp
  87. hibiscus.regular.png
  88. hibiscus.regular.tiff
  89. hippopotamus.bmp
  90. hippopotamus.interlaced.gif
  91. hippopotamus.interlaced.png
  92. hippopotamus.interlaced.truncated.gif
  93. hippopotamus.jpeg
  94. hippopotamus.lossless.webp
  95. hippopotamus.lossy.webp
  96. hippopotamus.masked-with-muybridge.gif
  97. hippopotamus.masked-with-muybridge.png
  98. hippopotamus.nie
  99. hippopotamus.regular.gif
  100. hippopotamus.regular.png
  101. hippopotamus.tiff
  102. json-quirks.json
  103. json-quirks.tokens
  104. json-things.cbor
  105. json-things.formatted.json
  106. json-things.unformatted.json
  107. json-things.unformatted.tokens
  108. midsummer.txt
  109. midsummer.txt.gz
  110. midsummer.txt.zlib
  111. muybridge-frame-000.indexes
  112. muybridge-frame-000.wbmp
  113. muybridge-frame-001.indexes
  114. muybridge-frame-002.indexes
  115. muybridge-frame-003.indexes
  116. muybridge-frame-004.indexes
  117. muybridge-frame-005.indexes
  118. muybridge-frame-006.indexes
  119. muybridge-frame-007.indexes
  120. muybridge-frame-008.indexes
  121. muybridge-frame-009.indexes
  122. muybridge-frame-010.indexes
  123. muybridge-frame-011.indexes
  124. muybridge-frame-012.indexes
  125. muybridge-frame-013.indexes
  126. muybridge-frame-014.indexes
  127. muybridge.gif
  128. nobel-prizes.json
  129. pi.txt
  130. pi.txt.giflzw
  131. pi.txt.gz
  132. pi.txt.zlib
  133. pjw-thumbnail.bmp
  134. pjw-thumbnail.gif
  135. pjw-thumbnail.jpeg
  136. pjw-thumbnail.lossless.webp
  137. pjw-thumbnail.lossy.webp
  138. pjw-thumbnail.png
  139. pjw-thumbnail.tiff
  140. rfc-6901-json-pointer.json
  141. rgb24png.bmp
  142. romeo.txt
  143. romeo.txt.bz2
  144. romeo.txt.deflate
  145. romeo.txt.fixed-huff.deflate
  146. romeo.txt.gz
  147. romeo.txt.zlib
  148. sheep-more.rac

Unless otherwise noted, the *.gzfiles were generated by the gzip command line tool and the *.deflate and *.zlib versions were then generated by script/extract-deflate-offsets.go. Similarly, the *.giflzw files were generated by script/extract-giflzw.go and the *.palette and *.indexes files were generated by script/extract-palette-indexes.go. The *.tokens files were generated by script/print-json-token-debug-format.c.

The *.jpeg files are usually the canonical versions of the test/data images, and other versions (*.bmp, *.gif, *.png, *.tiff) were generated by ImageMagick's convert command line tool. The *.wbmp versions were generated by the script/convert-png-to-wbmp.go command line tool. The *.webp versions were generated by the cwebp command line tool.

The artificial directory holds artificially generated test data, often to explicitly test corner cases of various file formats. The files there usually come in families whose names have a common prefix, such as three files,, all prefixed by The file whose name is that prefix is usually the canonical (typically hand-crafted) file, and the other files are then derived from that. Outside of the artificial directory, the other files in this directory are typically real world examples of various file formats, or deriviations of them.

The non-ascii directory holds trivial UTF-8 (but not ASCII) text files.

archive.* archives a subset of other files in this directory.

animated-red-blue.gif is an original animation by Nigel Tao

australian-abc-local-stations.json was crawled from

bricks-* are various encodings of an original photo by Nigel Tao

cbor-rfc-7049-examples.cbor is the concatenated examples from RFC 7049. The cbor-rfc-7049-examples.*.json files were then generated by example/cbor-to-json.

crude-flag.* is an original animation by Nigel Tao See the lib/nie documentation.

file-sizes.json was created by running script/print-file-sizes-json.go in this repository's root directory.

gifplayer-muybridge.gif is an original animation by Nigel Tao

harvesters.* are various encodings of a photo of “The Harvesters” by Pieter Bruegel the Elder, held by the Metropolitan Museum of Art. lists that image as in the public domain.

github-tags.json was crawled from

hat.* are various encodings of a photo of “Self-Portrait with a Straw Hat (obverse: The Potato Peeler)” by Vincent van Gogh, held by the Metropolitan Museum of art. lists that image as in the public domain. is a trivial shell script.

hibiscus.regular.* are various encodings of a photo of “Hibiscus and Parrots” by Louis Comfort Tiffany, held by the Metropolitan Museum of Art. lists that image as in the public domain.

hibiscus.primitive.* is the result of running the hibiscus.regular.png image through 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. lists that image as in the public domain. says that “You are welcome to use images of artworks in The Met collection that the Museum believes to be in the public domain, or those to which the Museum waives any copyright it might have, for any purpose, including commercial and noncommercial use, free of charge and without requiring permission from the Museum.”

json-things.* are original JSON objects by Nigel Tao

midsummer.txt is an excerpt of Shakespeare‘s "A Midsummer Night’s Dream", copied from

muybridge.gif is derived from which is in the public domain.

nobel-prizes.json was crawled from

pi.txt contains the digits of pi.

pjw-thumbnail.* are various encodings of an image derived from an iconic, original photo of Peter J. Weinberger by Rob Pike

rfc-6901-json-pointer.json is the example JSON document given in the RFC 6901 “JavaScript Object Notation (JSON) Pointer” specification.

rgb24png.bmp comes from BMP Suite, which states that its generated images “are in the public domain”.

romeo.txt is an excerpt of Shakespeare's “Romeo and Juliet”, copied from

romeo.txt.fixed-huff.deflate was derived from romeo.txt by a custom program to use fixed (not dynamic) Huffman tables for the deflate encoding.

sheep-more.rac is a RAC-compression of original text by Nigel Tao