The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 1 | |
| 2 | pngsuite |
| 3 | -------- |
Matt Sarett | 96be908 | 2016-05-03 13:29:54 -0400 | [diff] [blame] | 4 | Copyright (c) Willem van Schaik, 1999, 2011, 2012 |
| 5 | Two images (ftbbn0g01.png and ftbbn0g02.png) are by Glenn Randers-Pehrson, 2012 |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 6 | |
Chris Craik | ca2bf81 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 7 | Permission to use, copy, modify, and distribute these images for any |
| 8 | purpose and without fee is hereby granted. |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 9 | |
Chris Craik | ca2bf81 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 10 | The 15 "bas*.png" images are part of the much larger PngSuite test-set of |
| 11 | images, available for developers of PNG supporting software. The |
| 12 | complete set, available at http:/www.schaik.com/pngsuite/, contains |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 13 | a variety of images to test interlacing, gamma settings, ancillary |
| 14 | chunks, etc. |
| 15 | |
Chris Craik | ca2bf81 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 16 | The "ft*.png" images are "free/libre" replacements for the transparent |
| 17 | corresponding t*.png images in the PngSuite. |
| 18 | |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 19 | The images in this directory represent the basic PNG color-types: |
| 20 | grayscale (1-16 bit deep), full color (8 or 16 bit), paletted |
| 21 | (1-8 bit) and grayscale or color images with alpha channel. You |
| 22 | can use them to test the proper functioning of PNG software. |
| 23 | |
Chris Craik | ca2bf81 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 24 | filename depth type |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 25 | ------------ ------ -------------- |
Chris Craik | ca2bf81 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 26 | 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 Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 41 | |
Chris Craik | ca2bf81 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 42 | 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 | |
| 58 | Here is the correct result of typing "pngtest -m bas*.png" in |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 59 | this directory: |
| 60 | |
| 61 | Testing basn0g01.png: PASS (524 zero samples) |
| 62 | Filter 0 was used 32 times |
| 63 | Testing basn0g02.png: PASS (448 zero samples) |
| 64 | Filter 0 was used 32 times |
| 65 | Testing basn0g04.png: PASS (520 zero samples) |
| 66 | Filter 0 was used 32 times |
| 67 | Testing basn0g08.png: PASS (3 zero samples) |
| 68 | Filter 1 was used 9 times |
| 69 | Filter 4 was used 23 times |
| 70 | Testing basn0g16.png: PASS (1 zero samples) |
| 71 | Filter 1 was used 1 times |
| 72 | Filter 2 was used 31 times |
| 73 | Testing basn2c08.png: PASS (6 zero samples) |
| 74 | Filter 1 was used 5 times |
| 75 | Filter 4 was used 27 times |
| 76 | Testing basn2c16.png: PASS (592 zero samples) |
| 77 | Filter 1 was used 1 times |
| 78 | Filter 4 was used 31 times |
| 79 | Testing basn3p01.png: PASS (512 zero samples) |
| 80 | Filter 0 was used 32 times |
| 81 | Testing basn3p02.png: PASS (448 zero samples) |
| 82 | Filter 0 was used 32 times |
| 83 | Testing basn3p04.png: PASS (544 zero samples) |
| 84 | Filter 0 was used 32 times |
| 85 | Testing basn3p08.png: PASS (4 zero samples) |
| 86 | Filter 0 was used 32 times |
| 87 | Testing basn4a08.png: PASS (32 zero samples) |
| 88 | Filter 1 was used 1 times |
| 89 | Filter 4 was used 31 times |
| 90 | Testing 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 |
| 95 | Testing basn6a08.png: PASS (160 zero samples) |
| 96 | Filter 1 was used 1 times |
| 97 | Filter 4 was used 31 times |
| 98 | Testing basn6a16.png: PASS (1072 zero samples) |
| 99 | Filter 1 was used 4 times |
| 100 | Filter 4 was used 28 times |
| 101 | libpng passes test |
| 102 | |
| 103 | Willem van Schaik |
| 104 | <willem@schaik.com> |
| 105 | October 1999 |