This is not a PDF, there are no pages

remotes/origin/fix-10825
Olivier Paroz 11 years ago
parent b559b21dc3
commit 3bf155e138
  1. 2
      lib/private/preview/tiff.php

@ -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…
Cancel
Save