tree: 6c22ca92b87f3766e25a7a635cf92ef111fae61c [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.qoi
  33. bricks-color.tiff
  34. bricks-dither.bmp
  35. bricks-dither.gif
  36. bricks-dither.indexes
  37. bricks-dither.indexes.giflzw
  38. bricks-dither.lossless.webp
  40. bricks-dither.palette
  41. bricks-dither.png
  42. bricks-gray.bmp
  43. bricks-gray.gif
  44. bricks-gray.indexes
  45. bricks-gray.indexes.giflzw
  46. bricks-gray.jpeg
  47. bricks-gray.lossless.webp
  48. bricks-gray.lossy.webp
  50. bricks-gray.png
  51. bricks-gray.tiff
  52. bricks-nodither.bmp
  53. bricks-nodither.gif
  54. bricks-nodither.indexes
  55. bricks-nodither.indexes.giflzw
  56. bricks-nodither.lossless.webp
  57. bricks-nodither.palette
  58. bricks-nodither.png
  59. bricks-nodither.wbmp
  60. cbor-rfc-7049-examples.cbor
  61. cbor-rfc-7049-examples.sans-comments.json
  62. cbor-rfc-7049-examples.tokens
  63. cbor-rfc-7049-examples.with-comments.json
  64. checkerboard.gamma1dot0.png
  65. checkerboard.gamma2dot2.png
  66. crude-flag.nia
  67. crude-flag.nie
  68. crude-flag.nii
  69. DCI-P3-D65.icc
  70. DCI-P3-D65.icc.zlib
  71. file-sizes.json
  72. gifplayer-muybridge.gif
  73. github-tags.json
  74. harvesters.bmp
  75. harvesters.gif
  76. harvesters.jpeg
  77. harvesters.lossless.webp
  78. harvesters.lossy.webp
  79. harvesters.png
  80. harvesters.tiff
  81. hat.bmp
  82. hat.gif
  83. hat.jpeg
  84. hat.lossless.webp
  85. hat.lossy.webp
  86. hat.png
  87. hat.tiff
  88. hat.wbmp
  90. hibiscus.primitive.bmp
  91. hibiscus.primitive.gif
  92. hibiscus.primitive.jpeg
  93. hibiscus.primitive.lossless.webp
  94. hibiscus.primitive.lossy.webp
  95. hibiscus.primitive.png
  96. hibiscus.primitive.svg
  97. hibiscus.primitive.tiff
  98. hibiscus.regular.bmp
  99. hibiscus.regular.gif
  100. hibiscus.regular.jpeg
  101. hibiscus.regular.lossless.webp
  102. hibiscus.regular.lossy.webp
  103. hibiscus.regular.png
  104. hibiscus.regular.tiff
  105. hippopotamus.bmp
  106. hippopotamus.interlaced.gif
  107. hippopotamus.interlaced.png
  108. hippopotamus.interlaced.truncated.gif
  109. hippopotamus.jpeg
  110. hippopotamus.lossless.webp
  111. hippopotamus.lossy.webp
  112. hippopotamus.masked-with-muybridge.gif
  113. hippopotamus.masked-with-muybridge.png
  114. hippopotamus.nie
  115. hippopotamus.regular.gif
  116. hippopotamus.regular.ico
  117. hippopotamus.regular.png
  118. hippopotamus.tiff
  119. json-quirks.json
  120. json-quirks.tokens
  121. json-things.cbor
  122. json-things.formatted.json
  123. json-things.unformatted.json
  124. json-things.unformatted.tokens
  125. midsummer.txt
  126. midsummer.txt.gz
  127. midsummer.txt.zlib
  128. muybridge-frame-000.indexes
  129. muybridge-frame-000.wbmp
  130. muybridge-frame-001.indexes
  131. muybridge-frame-002.indexes
  132. muybridge-frame-003.indexes
  133. muybridge-frame-004.indexes
  134. muybridge-frame-005.indexes
  135. muybridge-frame-006.indexes
  136. muybridge-frame-007.indexes
  137. muybridge-frame-008.indexes
  138. muybridge-frame-009.indexes
  139. muybridge-frame-010.indexes
  140. muybridge-frame-011.indexes
  141. muybridge-frame-012.indexes
  142. muybridge-frame-013.indexes
  143. muybridge-frame-014.indexes
  144. muybridge.apng
  145. muybridge.gif
  146. nobel-prizes.json
  147. pi.txt
  148. pi.txt.giflzw
  149. pi.txt.gz
  150. pi.txt.zlib
  151. pjw-thumbnail.bmp
  152. pjw-thumbnail.gif
  153. pjw-thumbnail.jpeg
  154. pjw-thumbnail.lossless.webp
  155. pjw-thumbnail.lossy.webp
  156. pjw-thumbnail.png
  157. pjw-thumbnail.tiff
  159. red-blue-gradient.dcip3d65-no-chrm-no-gama.png
  160. red-blue-gradient.gamma1dot0.png
  161. red-blue-gradient.gamma1dot8.png
  162. red-blue-gradient.gamma2dot2.png
  163. red-blue-gradient.vanilla.png
  164. rfc-6901-json-pointer.json
  165. rgb24png.bmp
  166. romeo.txt
  167. romeo.txt.bz2
  168. romeo.txt.deflate
  169. romeo.txt.fixed-huff.deflate
  170. romeo.txt.gz
  171. romeo.txt.zlib
  172. 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 *.qoi files were generated by the qoiconv 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