It's about time for raster images to step into the new world. And you know what that means - XML. I present to you the genius of rasterized images stored in XML, Rasterized XML:
The source for RXML 1.0
A picture of me in RXML (844KiB compressed, 35MiB uncompressed)
Some example RXML code:
<?xml version="1.0"?>
<rxml version="1.0">
<image maxval="255" width="477" height="493">
<layer x="1" y="1" width="477" height="493" z-index="1">
<pixel x="1" y="1">
<red value="5"/>
<green value="1"/>
<blue value="2"/>
<alpha value="255"/>
</pixel>
<pixel x="2" y="1">
<red value="5"/>
<green value="1"/>
<blue value="2"/>
<alpha value="255"/>
</pixel>
<pixel x="3" y="1">
<red value="2"/>
<green value="0"/>
<blue value="1"/>