if ($method === 'GS') {
self::makeShotGS($in, $out, $page, $prefix, $resolution, $quality, $antialiasing, $width, $height, $format);
} elseif ($method === 'PNM') {
- self::makeShotPNM($in, $out, $page, $prefix, $resolution, $quality, $antialiasing, true, $width, $height, $format);
+ self::makeShotPNM($in, $out, $page, $prefix, $resolution, $quality, $antialiasing, true, false, $width, $height, $format);
}
// Test the result by checking all files
if (!file_exists($out)) {
// If error, we try to make thumbs with other method
if ($error) {
if ($method === 'GS') {
- self::makeShotPNM($in, $out, $page, $prefix, $resolution, $quality, $antialiasing, true, $width, $height, $format);
+ self::makeShotPNM($in, $out, $page, $prefix, $resolution, $quality, $antialiasing, true, false, $width, $height, $format);
} elseif ($method === 'PNM') {
self::makeShotGS($in, $out, $page, $prefix, $resolution, $quality, $antialiasing, $width, $height, $format);
}