blob: a7fde8f36d7ac7fca3ad18a5396cac6faf5a385c [file] [log] [blame]
The Android Open Source Project893912b2009-03-03 19:30:05 -08001
2pngsuite
3--------
Matt Sarett9ea75692016-01-08 13:00:42 -05004Copyright (c) Willem van Schaik, 1999, 2011, 2012
5Two images (ftbbn0g01.png and ftbbn0g02.png) are by Glenn Randers-Pehrson, 2012
The Android Open Source Project893912b2009-03-03 19:30:05 -08006
Chris Craikca2bf812013-07-29 15:28:30 -07007Permission to use, copy, modify, and distribute these images for any
8purpose and without fee is hereby granted.
The Android Open Source Project893912b2009-03-03 19:30:05 -08009
Chris Craikca2bf812013-07-29 15:28:30 -070010The 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
The Android Open Source Project893912b2009-03-03 19:30:05 -080013a variety of images to test interlacing, gamma settings, ancillary
14chunks, etc.
15
Chris Craikca2bf812013-07-29 15:28:30 -070016The "ft*.png" images are "free/libre" replacements for the transparent
17corresponding t*.png images in the PngSuite.
18
The Android Open Source Project893912b2009-03-03 19:30:05 -080019The images in this directory represent the basic PNG color-types:
20grayscale (1-16 bit deep), full color (8 or 16 bit), paletted
21(1-8 bit) and grayscale or color images with alpha channel. You
22can use them to test the proper functioning of PNG software.
23
Chris Craikca2bf812013-07-29 15:28:30 -070024 filename depth type
The Android Open Source Project893912b2009-03-03 19:30:05 -080025 ------------ ------ --------------
Chris Craikca2bf812013-07-29 15:28:30 -070026 basn0g01.png 1-bit grayscale
27 basn0g02.png 2-bit grayscale
28 basn0g04.png 4-bit grayscale
29 basn0g08.png 8-bit grayscale
30 basn0g16.png 16-bit grayscale
31 basn2c08.png 8-bit truecolor
32 basn2c16.png 16-bit truecolor
33 basn3p01.png 1-bit paletted
34 basn3p02.png 2-bit paletted
35 basn3p04.png 4-bit paletted
36 basn3p08.png 8-bit paletted
37 basn4a08.png 8-bit gray with alpha
38 basn4a16.png 16-bit gray with alpha
39 basn6a08.png 8-bit RGBA
40 basn6a16.png 16-bit RGBA
The Android Open Source Project893912b2009-03-03 19:30:05 -080041
Chris Craikca2bf812013-07-29 15:28:30 -070042 ftbbn0g01.png 1-bit grayscale, black bKGD
43 ftbbn0g02.png 2-bit grayscale, black bKGD
44 ftbbn0g04.png 4-bit grayscale, black bKGD
45 ftbbn2c16.png 16-bit truecolor, black bKGD
46 ftbbn3p08.png 8-bit paletted, black bKGD
47 ftbgn2c16.png 16-bit truecolor, gray bKGD
48 ftbgn3p08.png 8-bit paletted, gray bKGD
49 ftbrn2c08.png 8-bit truecolor, red bKGD
50 ftbwn0g16.png 16-bit gray, white bKGD
51 ftbwn3p08.png 8-bit paletted, white bKGD
52 ftbyn3p08.png 8-bit paletted, yellow bKGD
53 ftp0n0g08.png 8-bit grayscale, opaque
54 ftp0n2c08.png 8-bit truecolor, opaque
55 ftp0n3p08.png 8-bit paletted, opaque
56 ftp1n3p08.png 8-bit paletted, no bKGD
57
58Here is the correct result of typing "pngtest -m bas*.png" in
The Android Open Source Project893912b2009-03-03 19:30:05 -080059this directory:
60
61Testing basn0g01.png: PASS (524 zero samples)
62 Filter 0 was used 32 times
63Testing basn0g02.png: PASS (448 zero samples)
64 Filter 0 was used 32 times
65Testing basn0g04.png: PASS (520 zero samples)
66 Filter 0 was used 32 times
67Testing basn0g08.png: PASS (3 zero samples)
68 Filter 1 was used 9 times
69 Filter 4 was used 23 times
70Testing basn0g16.png: PASS (1 zero samples)
71 Filter 1 was used 1 times
72 Filter 2 was used 31 times
73Testing basn2c08.png: PASS (6 zero samples)
74 Filter 1 was used 5 times
75 Filter 4 was used 27 times
76Testing basn2c16.png: PASS (592 zero samples)
77 Filter 1 was used 1 times
78 Filter 4 was used 31 times
79Testing basn3p01.png: PASS (512 zero samples)
80 Filter 0 was used 32 times
81Testing basn3p02.png: PASS (448 zero samples)
82 Filter 0 was used 32 times
83Testing basn3p04.png: PASS (544 zero samples)
84 Filter 0 was used 32 times
85Testing basn3p08.png: PASS (4 zero samples)
86 Filter 0 was used 32 times
87Testing basn4a08.png: PASS (32 zero samples)
88 Filter 1 was used 1 times
89 Filter 4 was used 31 times
90Testing basn4a16.png: PASS (64 zero samples)
91 Filter 0 was used 1 times
92 Filter 1 was used 2 times
93 Filter 2 was used 1 times
94 Filter 4 was used 28 times
95Testing basn6a08.png: PASS (160 zero samples)
96 Filter 1 was used 1 times
97 Filter 4 was used 31 times
98Testing basn6a16.png: PASS (1072 zero samples)
99 Filter 1 was used 4 times
100 Filter 4 was used 28 times
101libpng passes test
102
103Willem van Schaik
104<willem@schaik.com>
105October 1999