想象错误将tiff转换为pdf [英] Imagick Error convert tiff to pdf

查看:265
本文介绍了想象错误将tiff转换为pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试转换图片时:

convert image.tiff image.pdf 

它消除了错误:

convert: no images defined `mosaic.jpeg' @ error/convert.c/ConvertImageCommand/3187.

我尝试安装并重新安装imagick,libtiff和jpeg。但它没有帮助。它曾经在同一台机器上工作(Mac Mavericks),但我不得不重启我的机器并重新安装所有东西,现在它不起作用。
谢谢。

I tried installing and reinstalling imagick , libtiff and jpeg. But it didn't help. It used to work on the same machine (Mac Mavericks) but I had to reboot my machine and reinstall everything, and now it doesn't work. Thank you.

**(更新)问题已解决:**

安装了GraphicMagick而且工作正常!

Installed GraphicMagick instead and worked!

推荐答案

您使用的是自制?如果没有,我真的推荐它 - 我用它从ImageMagick到exiftool,ffmpeg,7zip,openssl,netcat,jhead,gawk,gnuplot,GNU coreutils,GNU parallel等。

Are you using homebrew? If not, I would really recommend it - I use it for everything from ImageMagick to exiftool, ffmpeg, 7zip, openssl, netcat, jhead, gawk, gnuplot, GNU coreutils, GNU parallel etc.

一旦你安装它,你所要做的就是

Once you install it, all you do is

brew install libtiff
brew install fontconfig
brew install ghostscript
brew install imagemagick --with-fontconfig --with-ghostscript --with-libtiff

如果您已经有自制,并且您安装了ImageMagick而没有任何额外选项,则可以执行以下操作:

If you already have homebrew, and you installed ImageMagick without any of the extra options, you can do this:

brew list      # to see what you have got
brew install <whatever is missing out of libtiff, fontconfig, ghostscript>
brew reinstall imagemagick --with-fontconfig --with-ghostscript --with-libtiff

哦,我忘了说,你的命令可以在我的OSX Mavericks上使用 homebrew

Oh, I forgot to say, your command works fine on my OSX Mavericks with homebrew.

这篇关于想象错误将tiff转换为pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆