$pdftoppm->setArg('-freetype', (!isset($options['texts']) || $options['texts']) ? 'yes' : 'no');
$pdftoppm->setArg('-singlefile');
self::_crop($pdftoppm, $page, $rect, $options['resolution'], $options['factor']);
- self::_exec($pdftoppm, $file, $dest, true);
+ self::_exec($pdftoppm, $file, $dest);
}
if (isset($lockFile)) {
$pdftocairo->setArg('-paperh', round($invertPaper ? $rect['width'] : $rect['height']));
self::_crop($pdftocairo, $page, $rect, 1, 1);
self::_exec($pdftocairo, $file, $destfile);
+ $pdftocairo->error_log();
return $pdftocairo;
}