This is not a PDF, there are no pages
This commit is contained in:
parent
b559b21dc3
commit
3bf155e138
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if (extension_loaded('imagick')) {
|
|||
|
||||
//create imagick object from TIFF
|
||||
try{
|
||||
$tiff = new Imagick($tmpPath . '[0]');
|
||||
$tiff = new Imagick($tmpPath);
|
||||
$tiff->setImageFormat('png');
|
||||
} catch (\Exception $e) {
|
||||
\OC_Log::write('core', $e->getmessage(), \OC_Log::ERROR);
|
||||
|
|
Loading…
Reference in a new issue