public function testRendering()
 {
     Ghostscript::setGsPath();
     $f = new Ghostscript();
     $this->assertFalse($f->render());
     $filename = __DIR__ . DIRECTORY_SEPARATOR . 'support' . DIRECTORY_SEPARATOR . 'test.pdf';
     $f->setInputFile($filename);
     $this->assertTrue($f->render());
     unlink(dirname($filename) . DIRECTORY_SEPARATOR . 'output.png');
 }
     * @return boolean
     */
    public function useCie()
    {
        return (bool) $this->_useCie;
    }
    /**
     * Set a page-Range
     *  
     * @param $startPage
     * @param $endPage
     *
     * @return self
     */
    public function setPages($startPage, $endPage = null)
    {
        $this->pageStart = (int) $startPage;
        if (null !== $endPage) {
            $this->pageEnd = (int) $endPage;
        }
        return $this;
    }
    /**
     * Store whether to use CIE for color conversion or not
     *
     * @var boolean $_useCie
     */
    protected $_useCie = false;
}
Ghostscript::setGsPath();