start new version 1.2.5, add default converter for images

This commit is contained in:
Uwe Steinmann 2017-11-22 13:52:24 +01:00
parent 8e73d88e8e
commit 59be3c3598
2 changed files with 21 additions and 5 deletions

View File

@ -35,9 +35,9 @@ class SeedDMS_Preview_PdfPreviewer extends SeedDMS_Preview_Base {
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => "unoconv -d document -f pdf --stdout -v '%f' > '%o'",
'text/plain' => "unoconv -d document -f pdf --stdout -v '%f' > '%o'",
'application/postscript' => "ps2pdf '%f' - > '%o'",
// 'image/jpeg' => "convert '%f' pdf:- > '%o'",
// 'image/png' => "convert '%f' pdf:- > '%o'",
// 'image/gif' => "convert '%f' pdf:- > '%o'",
'image/jpeg' => "convert '%f' pdf:- > '%o'",
'image/png' => "convert '%f' pdf:- > '%o'",
'image/gif' => "convert '%f' pdf:- > '%o'",
);
} /* }}} */

View File

@ -14,7 +14,7 @@
<date>2017-10-11</date>
<time>07:14:32</time>
<version>
<release>1.2.4</release>
<release>1.2.5</release>
<api>1.2.0</api>
</version>
<stability>
@ -23,7 +23,7 @@
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
fix typo in converter for tar.gz files
SeedDMS_Preview_Base::hasConvertert() returns only try if command is set
</notes>
<contents>
<dir baseinstalldir="SeedDMS" name="/">
@ -303,5 +303,21 @@ pass mimetype as parameter '%m' to converter
createPreview() returns false if running the converter command fails
</notes>
</release>
<release>
<date>2017-10-11</date>
<time>07:14:32</time>
<version>
<release>1.2.4</release>
<api>1.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
fix typo in converter for tar.gz files
</notes>
</release>
</changelog>
</package>