github.com/zebozhuang/go@v0.0.0-20200207033046-f8a98f6f5c5d/src/image/png/testdata/pngsuite/basn3p02.sng (about) 1 #SNG: from basn3p02.png 2 IHDR { 3 width: 32; height: 32; bitdepth: 2; 4 using color palette; 5 } 6 gAMA {1.0000} 7 PLTE { 8 ( 0,255, 0) # rgb = (0x00,0xff,0x00) 9 (255, 0, 0) # rgb = (0xff,0x00,0x00) 10 (255,255, 0) # rgb = (0xff,0xff,0x00) 11 ( 0, 0,255) # rgb = (0x00,0x00,0xff) 12 } 13 IMAGE { 14 pixels hex 15 ff55aa00ff55aa00 16 ff55aa00ff55aa00 17 ff55aa00ff55aa00 18 ff55aa00ff55aa00 19 00ff55aa00ff55aa 20 00ff55aa00ff55aa 21 00ff55aa00ff55aa 22 00ff55aa00ff55aa 23 aa00ff55aa00ff55 24 aa00ff55aa00ff55 25 aa00ff55aa00ff55 26 aa00ff55aa00ff55 27 55aa00ff55aa00ff 28 55aa00ff55aa00ff 29 55aa00ff55aa00ff 30 55aa00ff55aa00ff 31 ff55aa00ff55aa00 32 ff55aa00ff55aa00 33 ff55aa00ff55aa00 34 ff55aa00ff55aa00 35 00ff55aa00ff55aa 36 00ff55aa00ff55aa 37 00ff55aa00ff55aa 38 00ff55aa00ff55aa 39 aa00ff55aa00ff55 40 aa00ff55aa00ff55 41 aa00ff55aa00ff55 42 aa00ff55aa00ff55 43 55aa00ff55aa00ff 44 55aa00ff55aa00ff 45 55aa00ff55aa00ff 46 55aa00ff55aa00ff 47 }