...
Run Format

Text file src/image/png/testdata/pngsuite/basn3p04-31i.sng

Documentation: image/png/testdata/pngsuite

     1	#SNG: from basn3p04-31i.png
     2	IHDR {
     3	    width: 31; height: 31; 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	88885555ccccaaaa77773333eeee9990
    27	88885555ccccaaaa77773333eeee9990
    28	88885555ccccaaaa77773333eeee9990
    29	88885555ccccaaaa77773333eeee9990
    30	5555ccccaaaa77773333eeee99991110
    31	5555ccccaaaa77773333eeee99991110
    32	5555ccccaaaa77773333eeee99991110
    33	5555ccccaaaa77773333eeee99991110
    34	ccccaaaa77773333eeee999911114440
    35	ccccaaaa77773333eeee999911114440
    36	ccccaaaa77773333eeee999911114440
    37	ccccaaaa77773333eeee999911114440
    38	aaaa77773333eeee999911114444ddd0
    39	aaaa77773333eeee999911114444ddd0
    40	aaaa77773333eeee999911114444ddd0
    41	aaaa77773333eeee999911114444ddd0
    42	77773333eeee999911114444dddd0000
    43	77773333eeee999911114444dddd0000
    44	77773333eeee999911114444dddd0000
    45	77773333eeee999911114444dddd0000
    46	3333eeee999911114444dddd00002220
    47	3333eeee999911114444dddd00002220
    48	3333eeee999911114444dddd00002220
    49	3333eeee999911114444dddd00002220
    50	eeee999911114444dddd000022226660
    51	eeee999911114444dddd000022226660
    52	eeee999911114444dddd000022226660
    53	eeee999911114444dddd000022226660
    54	999911114444dddd000022226666bbb0
    55	999911114444dddd000022226666bbb0
    56	999911114444dddd000022226666bbb0
    57	}

View as plain text