Ok, maybe mimetex is not exactly what we need (seems there is no way to
control the resolution of the output image). But it was fun to play with :-)
julia> using MimeTeX
julia> tex2raster("f(x)=\\int_{-\\infty}^x e^{-t^2}dt",2)
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡀⠀⠐⢹⠉⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⢀⠤⠄⢀⠔⠀⠀⠀⠀⠢⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠇⠈⠀⠑⠓⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡆⠈⢀⠇⠀⠀⠠⡤⠀⠀⡀⠀
⠀⠠⡼⠄⠀⡎⠀⠀⡤⡤⢤⠀⢱⠀⠀⠤⠤⠤⠤⠤⠄⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⢤⠀⠤⠤⠤⠤⠄⠈⢹⠁⠐⠓⠃⠀⡠⢄⠇⠀⢤⠧⠄
⠀⠀⡇⠀⠀⡇⠀⡈⢀⡇⡀⠀⢸⠀⠀⠤⠤⠤⠤⠤⠄⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠒⢉⠀⠀⠀⠀⠀⠀⠀⠑⠃⠀⠀⠀⢸⠀⡸⡀⠀⡸⢀⠀
⣀⡸⠀⠀⠀⠘⢄⠈⠁⠉⠀⡠⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⡎⠀⠀⠀⠀⠀⠀⠀⠀⢀⠤⢄⠀⡠⠤⡀⠀⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠈⠁⠀⠈⠁⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠀⠀⠀⠀⠉⠉⠉⠉⠁⠸⣀⡠⠛⢄⣀⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀