on Stack Overflow
See other posts from Stack Overflow
or by charliedigital
Published on 2009-06-29T21:51:16Z Indexed on 2010/03/13 5:15 UTC
Read the original article Hit count: 371
Are there any libraries which take MathML (or, even more preferably, OMML) and outputs a .PNG file?
I am putting together an export process for .docx files and, as a part of this process, I'd like to extract equations and render them as .PNG files. Word 2007 does this natively when you save a document for the web, but so far, I have not been able to find a way to do this programmatically (if anyone has an answer for that, it would be even better). So the next best thing is to take the OMML and use the Microsoft provided XSL stylesheets and transform them to MathML.
Unfortunately, I haven't been able to find any (working) rendering libraries for either MathML or OMML.
If there aren't any pure .NET libraries for this, I'll settle for just about anything that I can call from a commandline to output a .PNG from either MathML or OMML.
© Stack Overflow or respective owner