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 compiles 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 pdfimages extractor tool. /usr/bin/pdfimages -j -f ${firstPage} -l ${lastPage} ${fileIn} ${imageRoot} |
||||||
system.openoffice.program |
String |
Path to the LibreOffice executable. /usr/bin/soffice |
||||||
system.ghostscript |
String |
Path tot the ghosscript conversion tool. /usr/bin/gs |
Windows
Field / Property | Type | Description |
---|---|---|
system.imagemagick.convert |
String |
Path to image magick convert tool. C:\openkm\bin\convert.exe |
system.ocr |
String |
Path to ocr text extractor engine. C:\openkm\tools\Tesseract-OCR\tesseractexe ${fileIn} ${fileOut} |
system.ffmpeg |
String |
Path to ffmpeg audio and video converter tool. C:\openkm\bin\ffmpeg.exe |
system.html2pdf |
String |
Path to html2pdf convert 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 pdfimages extractor tool. C:\openkm\tools\pdfimages -j -f ${firstPage} -l ${lastPage} ${fileIn} ${imageRoot} |
system.openoffice.program |
String | Path to the LibreOffice executable. C:\Program Files\LibreOffice\program\soffice.exe |
system.ghostscript |
String |
Path to the ghosscript conversion tool. C:\openkm\bin\gswin32c.exe |