mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 14:11:35 +00:00
start new version 1.2.5, add default converter for images
This commit is contained in:
parent
8e73d88e8e
commit
59be3c3598
|
@ -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'",
|
'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'",
|
'text/plain' => "unoconv -d document -f pdf --stdout -v '%f' > '%o'",
|
||||||
'application/postscript' => "ps2pdf '%f' - > '%o'",
|
'application/postscript' => "ps2pdf '%f' - > '%o'",
|
||||||
// 'image/jpeg' => "convert '%f' pdf:- > '%o'",
|
'image/jpeg' => "convert '%f' pdf:- > '%o'",
|
||||||
// 'image/png' => "convert '%f' pdf:- > '%o'",
|
'image/png' => "convert '%f' pdf:- > '%o'",
|
||||||
// 'image/gif' => "convert '%f' pdf:- > '%o'",
|
'image/gif' => "convert '%f' pdf:- > '%o'",
|
||||||
);
|
);
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<date>2017-10-11</date>
|
<date>2017-10-11</date>
|
||||||
<time>07:14:32</time>
|
<time>07:14:32</time>
|
||||||
<version>
|
<version>
|
||||||
<release>1.2.4</release>
|
<release>1.2.5</release>
|
||||||
<api>1.2.0</api>
|
<api>1.2.0</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</stability>
|
</stability>
|
||||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
<notes>
|
<notes>
|
||||||
fix typo in converter for tar.gz files
|
SeedDMS_Preview_Base::hasConvertert() returns only try if command is set
|
||||||
</notes>
|
</notes>
|
||||||
<contents>
|
<contents>
|
||||||
<dir baseinstalldir="SeedDMS" name="/">
|
<dir baseinstalldir="SeedDMS" name="/">
|
||||||
|
@ -303,5 +303,21 @@ pass mimetype as parameter '%m' to converter
|
||||||
createPreview() returns false if running the converter command fails
|
createPreview() returns false if running the converter command fails
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</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>
|
</changelog>
|
||||||
</package>
|
</package>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user