Thread:Thisismyrofl/@comment-1863391-20130329053428/@comment-10688548-20130330022640

This was a bit rough to get going initially but now it works. It produces W3C-validated SVG that renders perfectly in Firefox and Chrome. And the offset issue is taken care of.

However, for every program that it works in, I find two more in which it renders as 4096 black rectangles. Examples:
 * GIMP
 * Ubuntu's default image viewer
 * Nautilus's file thumbnail generator
 * Mediawiki (check it out)
 * Inkscape (which I was intending to use on the SVG'd bitmaps for my purposes |: )

The cause of this seems to be your use of  (example colors). RGBA is CSS3 which is supported by Firefox and Chrome; it is not however part of SVG 1.1 which most programs implement. A better layout would be  which I think should work.

All the images I intend to work with have no transparency therefore 100% opacity; this should not be too hard for me to regex out, but as a final touch you might implement the new code format.

Thank you tremendously for all of this, in any case, it's a lovely wonderful tool and perhaps even the first of its kind!