}\r
$antialiasing = $antialiasing ? 'yes' : 'no';\r
$freetype = $texts ? 'yes' : 'no';\r
- $resolution = round($resolution);\r
+ $resolution = $resolution;\r
// Exporte les fichiers\r
$pdftoppm = new cubeCommandLine('pdftoppm', null, true);\r
$pdftoppm->setPath(CONVERTER_PATH);\r
\r
if (!in_array($method, array(self::BARBARE_PNM, self::BARBARE_GS))) {\r
\r
- if (in_array($version, array('stable', 'latest', 'git'))) {\r
+ if (in_array($version, array('legacy', 'stable', 'latest', 'git'))) {\r
$program = '/usr/local/swftools/' . $version . '/bin/pdf2swf';\r
} else {\r
$program = 'pdf2swf';\r