markTestSkipped('Imagick does not support postscript.'); } if (\OCP\Server::get(BinaryFinder::class)->findBinaryPath('gs') === false) { // Imagick forwards postscript rendering to Ghostscript but does not report this in queryFormats $this->markTestSkipped('Ghostscript is not installed.'); } parent::setUp(); $fileName = 'testimage.eps'; $this->imgPath = $this->prepareTestFile($fileName, \OC::$SERVERROOT . '/tests/data/' . $fileName); $this->width = 2400; $this->height = 1707; $this->provider = new Postscript; } }