tree: 55d9015a104d50544155c97e0ea0a7895b625066 [path history] [tgz]
  1. analysis/
  2. artificial-deflate/
  3. artificial-gif/
  4. artificial-png/
  5. non-ascii/
  6. 0.bytes
  7. 256.bytes
  8. 256.bytes.gz
  9. animated-red-blue.000000.nie
  10. animated-red-blue.000001.nie
  11. animated-red-blue.000002.nie
  12. animated-red-blue.000003.nie
  13. animated-red-blue.apng
  14. animated-red-blue.gif
  15. animated-red-blue.nia
  16. archive.7z
  18. archive.iso
  20. archive.rar
  21. archive.tar
  22. archive.tar.bz2
  23. archive.tar.gz
  25. australian-abc-local-stations.json
  26. australian-abc-local-stations.tokens
  27. bricks-color.bmp
  28. bricks-color.jpeg
  29. bricks-color.lossless.webp
  30. bricks-color.lossy.webp
  31. bricks-color.png
  32. bricks-color.tiff
  33. bricks-dither.bmp
  34. bricks-dither.gif
  35. bricks-dither.indexes
  36. bricks-dither.indexes.giflzw
  37. bricks-dither.lossless.webp
  39. bricks-dither.palette
  40. bricks-dither.png
  41. bricks-gray.bmp
  42. bricks-gray.gif
  43. bricks-gray.indexes
  44. bricks-gray.indexes.giflzw
  45. bricks-gray.jpeg
  46. bricks-gray.lossless.webp
  47. bricks-gray.lossy.webp
  49. bricks-gray.png
  50. bricks-gray.tiff
  51. bricks-nodither.bmp
  52. bricks-nodither.gif
  53. bricks-nodither.indexes
  54. bricks-nodither.indexes.giflzw
  55. bricks-nodither.lossless.webp
  56. bricks-nodither.palette
  57. bricks-nodither.png
  58. bricks-nodither.wbmp
  59. cbor-rfc-7049-examples.cbor
  60. cbor-rfc-7049-examples.sans-comments.json
  61. cbor-rfc-7049-examples.tokens
  62. cbor-rfc-7049-examples.with-comments.json
  63. checkerboard.gamma1dot0.png
  64. checkerboard.gamma2dot2.png
  65. crude-flag.nia
  66. crude-flag.nie
  67. crude-flag.nii
  68. DCI-P3-D65.icc
  69. DCI-P3-D65.icc.zlib
  70. file-sizes.json
  71. gifplayer-muybridge.gif
  72. github-tags.json
  73. harvesters.bmp
  74. harvesters.gif
  75. harvesters.jpeg
  76. harvesters.lossless.webp
  77. harvesters.lossy.webp
  78. harvesters.png
  79. harvesters.tiff
  80. hat.bmp
  81. hat.gif
  82. hat.jpeg
  83. hat.lossless.webp
  84. hat.lossy.webp
  85. hat.png
  86. hat.tiff
  87. hat.wbmp
  89. hibiscus.primitive.bmp
  90. hibiscus.primitive.gif
  91. hibiscus.primitive.jpeg
  92. hibiscus.primitive.lossless.webp
  93. hibiscus.primitive.lossy.webp
  94. hibiscus.primitive.png
  95. hibiscus.primitive.svg
  96. hibiscus.primitive.tiff
  97. hibiscus.regular.bmp
  98. hibiscus.regular.gif
  99. hibiscus.regular.jpeg
  100. hibiscus.regular.lossless.webp
  101. hibiscus.regular.lossy.webp
  102. hibiscus.regular.png
  103. hibiscus.regular.tiff
  104. hippopotamus.bmp
  105. hippopotamus.interlaced.gif
  106. hippopotamus.interlaced.png
  107. hippopotamus.interlaced.truncated.gif
  108. hippopotamus.jpeg
  109. hippopotamus.lossless.webp
  110. hippopotamus.lossy.webp
  111. hippopotamus.masked-with-muybridge.gif
  112. hippopotamus.masked-with-muybridge.png
  113. hippopotamus.nie
  114. hippopotamus.regular.gif
  115. hippopotamus.regular.ico
  116. hippopotamus.regular.png
  117. hippopotamus.tiff
  118. json-quirks.json
  119. json-quirks.tokens
  120. json-things.cbor
  121. json-things.formatted.json
  122. json-things.unformatted.json
  123. json-things.unformatted.tokens
  124. midsummer.txt
  125. midsummer.txt.gz
  126. midsummer.txt.zlib
  127. muybridge-frame-000.indexes
  128. muybridge-frame-000.wbmp
  129. muybridge-frame-001.indexes
  130. muybridge-frame-002.indexes
  131. muybridge-frame-003.indexes
  132. muybridge-frame-004.indexes
  133. muybridge-frame-005.indexes
  134. muybridge-frame-006.indexes
  135. muybridge-frame-007.indexes
  136. muybridge-frame-008.indexes
  137. muybridge-frame-009.indexes
  138. muybridge-frame-010.indexes
  139. muybridge-frame-011.indexes
  140. muybridge-frame-012.indexes
  141. muybridge-frame-013.indexes
  142. muybridge-frame-014.indexes
  143. muybridge.apng
  144. muybridge.gif
  145. nobel-prizes.json
  146. pi.txt
  147. pi.txt.giflzw
  148. pi.txt.gz
  149. pi.txt.zlib
  150. pjw-thumbnail.bmp
  151. pjw-thumbnail.gif
  152. pjw-thumbnail.jpeg
  153. pjw-thumbnail.lossless.webp
  154. pjw-thumbnail.lossy.webp
  155. pjw-thumbnail.png
  156. pjw-thumbnail.tiff
  158. red-blue-gradient.dcip3d65-no-chrm-no-gama.png
  159. red-blue-gradient.gamma1dot0.png
  160. red-blue-gradient.gamma1dot8.png
  161. red-blue-gradient.gamma2dot2.png
  162. red-blue-gradient.vanilla.png
  163. rfc-6901-json-pointer.json
  164. rgb24png.bmp
  165. romeo.txt
  166. romeo.txt.bz2
  167. romeo.txt.deflate
  168. romeo.txt.fixed-huff.deflate
  169. romeo.txt.gz
  170. romeo.txt.zlib
  171. 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 etc) were usually 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 *.no-ancillary.png files were generated by the script/strip-png-ancillary-chunks.go command line tool.

The *.apng files were generated by gif2apng. Those with finite animation loop counts were manually patched to correct for a gif2apng bug. argues that GIF and APNG/WEBP have different semantics but gif2apng does not cater for that.

The artificial-* directories hold 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-* directories, 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.

DCI-P3-D65.icc comes from DCI-P3-D65.icc.zlib is a zlib-compresion of that, created by Go's standard library.

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

animated-red-blue.gif is an original animation by Nigel Tao animated-red-blue.nia and animated-red-blue.*.nie were then generated by example/convert-to-nia and script/extract-nia-frames.go.

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.

checkerboard.*.png was generated by script/make-red-blue-gradient.go.

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

red-blue-gradient.*.png was generated by script/make-red-blue-gradient.go.

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