Preview parameters
In this section you can find the most common configuration parameters related to preview. Some of these commands are included in OpenKM by default, like pdf2swf or ffmpeg (binaries compiled for Linux and Windows) but others need to be installed by the system administrator.
Linux
| Field / Property | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
|
system.imagemagick.convert |
String |
Path to ImageMagick convert tool. /usr/bin/convert |
||||||
|
system.ocr |
String |
Path to OCR text extractor engine. /usr/bin/tesseract ${fileIn} ${fileOut} |
||||||
|
system.ffmpeg |
String |
Path to FFmpeg audio and video conversion tool. /home/openkm/tomcat-7.0.27/bin/ffmpeg |
||||||
|
system.html2pdf |
String |
Path to html2pdf conversion tool. You can download this utility from http://phantomjs.org. /home/openkm/phantomjs /home/openkm/rasterize.js ${urlIn} ${fileOut} A4 Other tools:
|
||||||
|
system.pdfimages |
String |
Path to the pdfimages extractor tool. /usr/bin/pdfimages -j -f ${firstPage} -l ${lastPage} ${fileIn} ${imageRoot} |
||||||
|
system.openoffice.program |
String |
Path to OpenOffice or LibreOffice executable. Used in OfficeDirectToPdfConversion. If you are using this converter, LibreOffice is not required to start as a service so you can avoid it by setting the system.openoffice.path configuration property to an empty value and set system.openoffice.server to "local". /usr/bin/soffice |
||||||
|
system.ghostscript |
String |
Path to the Ghostscript conversion tool. /usr/bin/gs |
Windows
| Field / Property | Type | Description |
|---|---|---|
|
system.imagemagick.convert |
String |
Path to ImageMagick convert tool. C:\openkm\bin\convert.exe |
|
system.ocr |
String |
Path to OCR text extractor engine. C:\openkm\tools\Tesseract-OCR\tesseract.exe ${fileIn} ${fileOut} |
|
system.ffmpeg |
String |
Path to FFmpeg audio and video conversion tool. C:\openkm\bin\ffmpeg.exe |
|
system.html2pdf |
String |
Path to html2pdf conversion tool. You can download this utility from http://phantomjs.org. C:\openkm\tools\phantomjs C:\openkm\tools\rasterize.js ${urlIn} ${fileOut} A4 |
|
system.pdfimages |
String |
Path to the pdfimages extractor tool. C:\openkm\tools\pdfimages -j -f ${firstPage} -l ${lastPage} ${fileIn} ${imageRoot} |
|
system.openoffice.program |
String | Path to OpenOffice or LibreOffice executable. Used in OfficeDirectToPdfConversion. If you are using this converter, LibreOffice is not required to start as a service so you can avoid it by setting the system.openoffice.path configuration property to an empty value and set system.openoffice.server to "local".
C:\Program Files\LibreOffice\program\soffice.exe |
|
system.ghostscript |
String |
Path to the Ghostscript conversion tool. C:\openkm\bin\gswin32c.exe |