Saturday 22nd January 2005
Benjamin Schwartz has adapted class.latexrender.php to improve the quality of the output. He has used “the PNG format’s support for true alpha blending to make those jagged edges (on non-white background) disappear”. The text colour for both PNG and GIF are customizable as is the background colour for GIFs. The original settings are still available.
You can download the file here and view its effect at Digital Diary of Ben Schwartz. The enhancement works best on dark backgrounds so, if you are using Firefox or Opera then try switching the stylesheet to ‘Dark Fire’ on that page.
Some things to be aware of:
- the improved output may have a small speed penalty
- the system will only work with recent versions of ImageMagick (such as 6.1.2)
- Internet Explorer on Windows does not show PNGs as transparent