• :idea: TIFF Preview continues to be a problem on 6.2.3

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #23556  by nrdorf
 
Ubuntu 12.04 LTS
Imagemagick

All previews seem to work fine: Libreoffice, PDF, even JPG using imagemagick convert. But not TIFF. When trying to run convert off the command line, outside of OKM, it throws an error Unknown field with tag 292. So this sounds like an Imagemagick problem, but I would like to propose a workaround.

using the libtiff-tools from Ghostscript, then one can use the tiff2pdf command and that seems to work. So....
Requesting that under Administration > Configuration, you add a configuration line "System.TIFF.Convert" and allow the user to populate that parameter with "/usr/bin/tiff2pdf". You logic in OKM should then use that converter for TIFF, unless the value is set to blank or null, in which case it would fal fack to the "system.imagemagick.convert" value instead.

The simple syntax for tiff2pdf would be:
tiff2pdf -o <target output image filename> <target input image filename>

example for converting test.tif:
tiff2pdf -o test.pdf test.tif

I think if you could incorporate this alternative for converting tiff files to pdf, then the handoff to pdf2swf would be graceful and our tiff preview options might dissapear.

Thanks

Neil
 #23563  by pavila
 
I develop under Ubuntu, and I can confirm that ImageMagick's convert command works pretty well to make conversions from TIFF to PDF. So I can't reproduce the problem. Anyway patched are welcome.

Regards.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.