tree: e58e251cfc7764d261a17e2de20a2ee001d6a415 [path history] [tgz]
  1. 256.bytes
  2. 256.bytes.gz
  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. harvesters.bmp
  33. harvesters.gif
  34. harvesters.jpeg
  35. harvesters.lossless.webp
  36. harvesters.lossy.webp
  37. harvesters.png
  38. harvesters.tiff
  39. hat.bmp
  40. hat.gif
  41. hat.jpeg
  42. hat.lossless.webp
  43. hat.lossy.webp
  44. hat.png
  45. hat.tiff
  46. hibiscus.bmp
  47. hibiscus.gif
  48. hibiscus.jpeg
  49. hibiscus.lossless.webp
  50. hibiscus.lossy.webp
  51. hibiscus.png
  52. hibiscus.tiff
  53. midsummer.txt
  54. midsummer.txt.gz
  55. midsummer.txt.zlib
  56. pi.txt
  57. pi.txt.giflzw
  58. pi.txt.gz
  59. pi.txt.zlib
  60. pjw-thumbnail.bmp
  61. pjw-thumbnail.gif
  62. pjw-thumbnail.jpeg
  63. pjw-thumbnail.lossless.webp
  64. pjw-thumbnail.lossy.webp
  65. pjw-thumbnail.png
  66. pjw-thumbnail.tiff
  67. README.md
  68. romeo.txt
  69. romeo.txt.flate
  70. romeo.txt.gz
  71. romeo.txt.zlib
test/testdata/README.md

Unless otherwise noted, the *.gz files were generated by the gzip command line tool and the .flate and .zlib versions were then generated by script/extract-flate-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 testdata 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.

256.bytes just holds “\x00\x01\x02\x03...\xff”.

bricks-* are various encodings of an original photo 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.

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

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