...
Run Format

Text file src/image/png/testdata/pngsuite/basn3p04.sng

Documentation: image/png/testdata/pngsuite

     1	#SNG: from basn3p04.png
     2	IHDR {
     3	    width: 32; height: 32; bitdepth: 4;
     4	    using color palette;
     5	}
     6	gAMA {1.0000}
     7	PLTE {
     8	    ( 34,  0,255)     # rgb = (0x22,0x00,0xff)
     9	    (  0,255,255)     # rgb = (0x00,0xff,0xff)
    10	    (136,  0,255)     # rgb = (0x88,0x00,0xff)
    11	    ( 34,255,  0)     # rgb = (0x22,0xff,0x00)
    12	    (  0,153,255)     # rgb = (0x00,0x99,0xff)
    13	    (255,102,  0)     # rgb = (0xff,0x66,0x00)
    14	    (221,  0,255)     # rgb = (0xdd,0x00,0xff)
    15	    (119,255,  0)     # rgb = (0x77,0xff,0x00)
    16	    (255,  0,  0)     # rgb = (0xff,0x00,0x00)
    17	    (  0,255,153)     # rgb = (0x00,0xff,0x99)
    18	    (221,255,  0)     # rgb = (0xdd,0xff,0x00)
    19	    (255,  0,187)     # rgb = (0xff,0x00,0xbb)
    20	    (255,187,  0)     # rgb = (0xff,0xbb,0x00)
    21	    (  0, 68,255)     # rgb = (0x00,0x44,0xff)
    22	    (  0,255, 68)     # rgb = (0x00,0xff,0x44)
    23	}
    24	IMAGE {
    25	    pixels hex
    26	88885555ccccaaaa77773333eeee9999
    27	88885555ccccaaaa77773333eeee9999
    28	88885555ccccaaaa77773333eeee9999
    29	88885555ccccaaaa77773333eeee9999
    30	5555ccccaaaa77773333eeee99991111
    31	5555ccccaaaa77773333eeee99991111
    32	5555ccccaaaa77773333eeee99991111
    33	5555ccccaaaa77773333eeee99991111
    34	ccccaaaa77773333eeee999911114444
    35	ccccaaaa77773333eeee999911114444
    36	ccccaaaa77773333eeee999911114444
    37	ccccaaaa77773333eeee999911114444
    38	aaaa77773333eeee999911114444dddd
    39	aaaa77773333eeee999911114444dddd
    40	aaaa77773333eeee999911114444dddd
    41	aaaa77773333eeee999911114444dddd
    42	77773333eeee999911114444dddd0000
    43	77773333eeee999911114444dddd0000
    44	77773333eeee999911114444dddd0000
    45	77773333eeee999911114444dddd0000
    46	3333eeee999911114444dddd00002222
    47	3333eeee999911114444dddd00002222
    48	3333eeee999911114444dddd00002222
    49	3333eeee999911114444dddd00002222
    50	eeee999911114444dddd000022226666
    51	eeee999911114444dddd000022226666
    52	eeee999911114444dddd000022226666
    53	eeee999911114444dddd000022226666
    54	999911114444dddd000022226666bbbb
    55	999911114444dddd000022226666bbbb
    56	999911114444dddd000022226666bbbb
    57	999911114444dddd000022226666bbbb
    58	}

View as plain text