org-create-formula-image

org-create-formula-image is a compiled Lisp function in `org.el'.

(org-create-formula-image STRING TOFILE OPTIONS BUFFER &optional TYPE)

Create an image from LaTeX source using dvipng or convert.
This function calls either `org-create-formula-image-with-dvipng'
or `org-create-formula-image-with-imagemagick' depending on the
value of `org-latex-create-formula-image-program' or on the value
of the optional TYPE variable.

Note: ultimately these two function should be combined as they
share a good deal of logic.