Skip to content
Snippets Groups Projects
Commit 3bf155e1 authored by Olivier Paroz's avatar Olivier Paroz
Browse files

This is not a PDF, there are no pages

parent b559b21d
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment