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
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
