tree: a2ef4fc2b62bd148292d6663fe770a46253efac3 [path history] [tgz]
  1. artificial/
  2. animated-red-blue.gif
  3. bricks-color.bmp
  4. bricks-color.jpeg
  5. bricks-color.lossless.webp
  6. bricks-color.lossy.webp
  7. bricks-color.png
  8. bricks-color.tiff
  9. bricks-dither.bmp
  10. bricks-dither.gif
  11. bricks-dither.indexes
  12. bricks-dither.indexes.giflzw
  13. bricks-dither.lossless.webp
  14. bricks-dither.palette
  15. bricks-dither.png
  16. bricks-gray.bmp
  17. bricks-gray.gif
  18. bricks-gray.indexes
  19. bricks-gray.indexes.giflzw
  20. bricks-gray.jpeg
  21. bricks-gray.lossless.webp
  22. bricks-gray.lossy.webp
  23. bricks-gray.png
  24. bricks-gray.tiff
  25. bricks-nodither.bmp
  26. bricks-nodither.gif
  27. bricks-nodither.indexes
  28. bricks-nodither.indexes.giflzw
  29. bricks-nodither.lossless.webp
  30. bricks-nodither.palette
  31. bricks-nodither.png
  32. gifplayer-muybridge.gif
  33. harvesters.bmp
  34. harvesters.gif
  35. harvesters.jpeg
  36. harvesters.lossless.webp
  37. harvesters.lossy.webp
  38. harvesters.png
  39. harvesters.tiff
  40. hat.bmp
  41. hat.gif
  42. hat.jpeg
  43. hat.lossless.webp
  44. hat.lossy.webp
  45. hat.png
  46. hat.tiff
  47. hibiscus.bmp
  48. hibiscus.gif
  49. hibiscus.jpeg
  50. hibiscus.lossless.webp
  51. hibiscus.lossy.webp
  52. hibiscus.png
  53. hibiscus.tiff
  54. hippopotamus.bmp
  55. hippopotamus.interlaced.gif
  56. hippopotamus.interlaced.png
  57. hippopotamus.jpeg
  58. hippopotamus.lossless.webp
  59. hippopotamus.lossy.webp
  60. hippopotamus.regular.gif
  61. hippopotamus.regular.png
  62. hippopotamus.tiff
  63. midsummer.txt
  64. midsummer.txt.gz
  65. midsummer.txt.zlib
  66. muybridge-frame-000.indexes
  67. muybridge-frame-001.indexes
  68. muybridge-frame-002.indexes
  69. muybridge-frame-003.indexes
  70. muybridge-frame-004.indexes
  71. muybridge-frame-005.indexes
  72. muybridge-frame-006.indexes
  73. muybridge-frame-007.indexes
  74. muybridge-frame-008.indexes
  75. muybridge-frame-009.indexes
  76. muybridge-frame-010.indexes
  77. muybridge-frame-011.indexes
  78. muybridge-frame-012.indexes
  79. muybridge-frame-013.indexes
  80. muybridge-frame-014.indexes
  81. muybridge.gif
  82. pi.txt
  83. pi.txt.giflzw
  84. pi.txt.gz
  85. pi.txt.zlib
  86. pjw-thumbnail.bmp
  87. pjw-thumbnail.gif
  88. pjw-thumbnail.jpeg
  89. pjw-thumbnail.lossless.webp
  90. pjw-thumbnail.lossy.webp
  91. pjw-thumbnail.png
  92. pjw-thumbnail.tiff
  93. README.md
  94. romeo.txt
  95. romeo.txt.deflate
  96. romeo.txt.fixed-huff.deflate
  97. romeo.txt.gz
  98. romeo.txt.zlib
test/data/README.md

Unless otherwise noted, the *.gz files 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 *.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 *.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 “foo.bar”, “foo.bar.qux”, “foo.bar.commentary.txt” all prefixed by “foo.bar”. 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.

animated-red-blue.gif is an original animation by Nigel Tao nigeltao@golang.org.

bricks-* are various encodings of an original photo by Nigel Tao nigeltao@golang.org.

gifplayer-muybridge.gif is an original animation by Nigel Tao nigeltao@golang.org.

harvesters.* are various encodings of a photo of “The Harvesters” by Pieter Bruegel the Elder, held by the Metropolitan Museum of Art. http://www.metmuseum.org/art/collection/search/435809 lists that image as in the public domain.

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. 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. http://www.metmuseum.org/art/collection/search/13503 lists that image as in the public domain.

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 the public domain.

http://www.metmuseum.org/about-the-met/policies-and-documents/image-resources 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.”

midsummer.txt is an excerpt of Shakespeare‘s "A Midsummer Night’s Dream", copied from http://shakespeare.mit.edu/midsummer/midsummer.1.1.html

muybridge.gif is derived from https://en.wikipedia.org/wiki/File:Muybridge_race_horse_animated.gif which is in the public domain.

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 r@golang.org.

romeo.txt is an excerpt of Shakespeare's “Romeo and Juliet”, copied from http://shakespeare.mit.edu/romeo_juliet/romeo_juliet.2.2.html

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.