13 s
= [[int(c
) for c
in row
] for row
in s
]
15 # R, G, B, Alpha (0xFF = opaque):
16 palette
=[(0x00,0x00,0x00,0x00), (0xcf,0x00,0xcf,0xe0)]
18 w
= png
.Writer(len(s
[0]), len(s
), palette
=palette
, bitdepth
=1)
19 f
= open('mcl_particles_nether_portal.png', 'wb')