...
Run Format

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

Documentation: image/png/testdata/pngsuite

     1#SNG: from basn3p02.png
     2IHDR {
     3    width: 32; height: 32; bitdepth: 2;
     4    using color palette;
     5}
     6gAMA {1.0000}
     7PLTE {
     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}
    13IMAGE {
    14    pixels hex
    15ff55aa00ff55aa00
    16ff55aa00ff55aa00
    17ff55aa00ff55aa00
    18ff55aa00ff55aa00
    1900ff55aa00ff55aa
    2000ff55aa00ff55aa
    2100ff55aa00ff55aa
    2200ff55aa00ff55aa
    23aa00ff55aa00ff55
    24aa00ff55aa00ff55
    25aa00ff55aa00ff55
    26aa00ff55aa00ff55
    2755aa00ff55aa00ff
    2855aa00ff55aa00ff
    2955aa00ff55aa00ff
    3055aa00ff55aa00ff
    31ff55aa00ff55aa00
    32ff55aa00ff55aa00
    33ff55aa00ff55aa00
    34ff55aa00ff55aa00
    3500ff55aa00ff55aa
    3600ff55aa00ff55aa
    3700ff55aa00ff55aa
    3800ff55aa00ff55aa
    39aa00ff55aa00ff55
    40aa00ff55aa00ff55
    41aa00ff55aa00ff55
    42aa00ff55aa00ff55
    4355aa00ff55aa00ff
    4455aa00ff55aa00ff
    4555aa00ff55aa00ff
    4655aa00ff55aa00ff
    47}

View as plain text