Advanced Instructions
For those who have auto generated MathML and wish to have an image version:
GET Request
- Provide a URL encoded MathML formula to /mathml/ as the query string parameter "mathml"
Example:
http://mathml.solaro.com/mathml/?dpi=96&mathml=%3Cmath%3E%3Cmfrac%3E%3Cmn%3E12%3C%2Fmn%3E%3Cmi%3Ex%3C%2Fmi%3E%3C%2Fmfrac%3E%3C%2Fmath%3E - Optionally add a "dpi" parameter between 50 and 400; if no dpi is specified a dpi of 96 is assumed. A dpi above 400 is interpreted as 400 and one below 50 is interpreted as 50.
- A rendered MathML image (in PNG format) will be returned.
POST Request
MathML can also be sent as a POST request (with a content type of 'text/xml') to /mathml/. The response will contain the rendered MathML as a PNG image. Like the GET version, POST requests accept an optional dpi setting (as a query string parameter and not as part of the post body); the same restrictions for the dpi parameter apply.
