change latex to image