• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2pngsuite
3--------
4Copyright (c) Willem van Schaik, 1999, 2011, 2012
5Two images (ftbbn0g01.png and ftbbn0g02.png) are by Glenn Randers-Pehrson, 2012
6
7Permission to use, copy, modify, and distribute these images for any
8purpose and without fee is hereby granted.
9
10The 15 "bas*.png" images are part of the much larger PngSuite test-set of
11images, available for developers of PNG supporting software. The
12complete set, available at http:/www.schaik.com/pngsuite/, contains
13a variety of images to test interlacing, gamma settings, ancillary
14chunks, etc.
15
16The "ft*.png" images are "free/libre" replacements for the transparent
17corresponding t*.png images in the PngSuite.
18
19The "i*.png" images are the same images, but interlaced.
20
21The images in this directory represent the basic PNG color-types:
22grayscale (1-16 bit deep), full color (8 or 16 bit), paletted
23(1-8 bit) and grayscale or color images with alpha channel. You
24can use them to test the proper functioning of PNG software.
25
26    filename       depth type
27    ------------ ------ --------------
28    basn0g01.png   1-bit grayscale
29    basn0g02.png   2-bit grayscale
30    basn0g04.png   4-bit grayscale
31    basn0g08.png   8-bit grayscale
32    basn0g16.png  16-bit grayscale
33    basn2c08.png   8-bit truecolor
34    basn2c16.png  16-bit truecolor
35    basn3p01.png   1-bit paletted
36    basn3p02.png   2-bit paletted
37    basn3p04.png   4-bit paletted
38    basn3p08.png   8-bit paletted
39    basn4a08.png   8-bit gray with alpha
40    basn4a16.png  16-bit gray with alpha
41    basn6a08.png   8-bit RGBA
42    basn6a16.png  16-bit RGBA
43
44    ftbbn0g01.png  1-bit grayscale, black bKGD
45    ftbbn0g02.png  2-bit grayscale, black bKGD
46    ftbbn0g04.png  4-bit grayscale, black bKGD
47    ftbbn2c16.png 16-bit truecolor, black bKGD
48    ftbbn3p08.png  8-bit paletted, black bKGD
49    ftbgn2c16.png 16-bit truecolor, gray bKGD
50    ftbgn3p08.png  8-bit paletted, gray bKGD
51    ftbrn2c08.png  8-bit truecolor, red bKGD
52    ftbwn0g16.png 16-bit gray, white bKGD
53    ftbwn3p08.png  8-bit paletted, white bKGD
54    ftbyn3p08.png  8-bit paletted, yellow bKGD
55    ftp0n0g08.png  8-bit grayscale, opaque
56    ftp0n2c08.png  8-bit truecolor, opaque
57    ftp0n3p08.png  8-bit paletted, opaque
58    ftp1n3p08.png  8-bit paletted, no bKGD
59
60Here is the correct result of typing "pngtest -m bas*.png" in
61this directory:
62
63Testing basn0g01.png: PASS (524 zero samples)
64 Filter 0 was used 32 times
65Testing basn0g02.png: PASS (448 zero samples)
66 Filter 0 was used 32 times
67Testing basn0g04.png: PASS (520 zero samples)
68 Filter 0 was used 32 times
69Testing basn0g08.png: PASS (3 zero samples)
70 Filter 1 was used 9 times
71 Filter 4 was used 23 times
72Testing basn0g16.png: PASS (1 zero samples)
73 Filter 1 was used 1 times
74 Filter 2 was used 31 times
75Testing basn2c08.png: PASS (6 zero samples)
76 Filter 1 was used 5 times
77 Filter 4 was used 27 times
78Testing basn2c16.png: PASS (592 zero samples)
79 Filter 1 was used 1 times
80 Filter 4 was used 31 times
81Testing basn3p01.png: PASS (512 zero samples)
82 Filter 0 was used 32 times
83Testing basn3p02.png: PASS (448 zero samples)
84 Filter 0 was used 32 times
85Testing basn3p04.png: PASS (544 zero samples)
86 Filter 0 was used 32 times
87Testing basn3p08.png: PASS (4 zero samples)
88 Filter 0 was used 32 times
89Testing basn4a08.png: PASS (32 zero samples)
90 Filter 1 was used 1 times
91 Filter 4 was used 31 times
92Testing basn4a16.png: PASS (64 zero samples)
93 Filter 0 was used 1 times
94 Filter 1 was used 2 times
95 Filter 2 was used 1 times
96 Filter 4 was used 28 times
97Testing basn6a08.png: PASS (160 zero samples)
98 Filter 1 was used 1 times
99 Filter 4 was used 31 times
100Testing basn6a16.png: PASS (1072 zero samples)
101 Filter 1 was used 4 times
102 Filter 4 was used 28 times
103libpng passes test
104
105Willem van Schaik
106<willem at schaik.com>
107October 1999
108