#!/usr/bin/env python

from plasTeX.Imagers import Imager as _Imager

class CoreGraphics(_Imager):
    """ Imager that uses OS X's CoreGraphics library """
    command = 'cgpdfpng --magnification=6 --scaledown=4 --output=img%d.png'
    compiler = 'pdflatex'
    fileExtension = '.png'

Imager = CoreGraphics
