图像转换库:Word,PDF,Excel到图像 [英] Image Conversion library: Word, PDF, Excel to Images
问题描述
我们要求将Excel,PDF和Word中的任何传入文档转换为图像。任何推荐?
We have a requirement to convert any incoming documents which are either in Excel, PDF and Word to images. Any recommendation?
我不确定ImageMagik是否会这样做,但我的理解是它只用于图像的格式转换,我猜也处理PDF。 Excel和Word怎么样?
I am NOT sure whether ImageMagik would do this but my understanding it is ONLY for format conversion of images and I guess handles PDF as well. What about Excel and Word?
提前致谢
推荐答案
你可以先将所有内容转换为pdf:
You could convert everything to pdf first using:
$ libreoffice --headless --invisible --convert-to pdf *。
libreofficeextension
然后使用imagemagick ...
and then use imagemagick...
你可能有单词中的一些格式问题,特别是在powerpoint中
you might have some formatting issues in word and especially in powerpoint
这篇关于图像转换库:Word,PDF,Excel到图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!