mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +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'",
|
||||
'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'",
|
||||
);
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user