本文介绍了Imagemagick在mac os x mountain lion上找不到.tiff格式的委托库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法将.tiff文件转换为其他格式。

I could not convert .tiff files to other format.

以下是一些调试输出:

$ convert -list configure

Path: /usr/local/Cellar/imagemagick/6.7.7-6/lib/ImageMagick/config/configure.xml

Name          Value
-------------------------------------------------------------------------------
CC            cc
CFLAGS        -D_THREAD_SAFE -D_THREAD_SAFE -pthread -g -O2 -Wall -D_THREAD_SAFE -pthread
CODER_PATH    /usr/local/Cellar/imagemagick/6.7.7-6/lib/ImageMagick/modules-Q16/coders
CONFIGURE     ./configure  '--disable-osx-universal-binary' '--without-perl' '--prefix=/usr/local/Cellar/imagemagick/6.7.7-6' '--disable-dependency-tracking' '--enable-shared' '--disable-static' '--without-pango' '--with-included-ltdl' '--with-modules' '--disable-openmp' '--without-gslib' '--with-gs-font-dir=/usr/local/share/ghostscript/fonts' '--without-x' 'CC=cc' 'CXX=c++'
CONFIGURE_PATH /usr/local/Cellar/imagemagick/6.7.7-6/etc/ImageMagick/
COPYRIGHT     Copyright (C) 1999-2012 ImageMagick Studio LLC
CPPFLAGS      -I/usr/local/Cellar/imagemagick/6.7.7-6/include/ImageMagick
CXX           c++
CXXFLAGS      -g -O2 -D_THREAD_SAFE -pthread
DEFS          -DHAVE_CONFIG_H
DELEGATES     bzlib freetype jpeg jng png xml zlib
DISTCHECK_CONFIG_FLAGS 'CC=cc' 'CXX=c++' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-gs-font-dir=/usr/local/share/ghostscript/fonts --with-pango=no --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/Cellar/imagemagick/6.7.7-6/share/doc/ImageMagick
EXEC-PREFIX   /usr/local/Cellar/imagemagick/6.7.7-6
EXECUTABLE_PATH /usr/local/Cellar/imagemagick/6.7.7-6/bin
FEATURES      OpenCL
FILTER_PATH   /usr/local/Cellar/imagemagick/6.7.7-6/lib/ImageMagick/modules-Q16/filters
HOST          x86_64-apple-darwin12.1.0
INCLUDE_PATH  /usr/local/Cellar/imagemagick/6.7.7-6/include/ImageMagick
LDFLAGS       -L/usr/local/Cellar/imagemagick/6.7.7-6/lib -L/usr/local/Cellar/freetype/2.4.10/lib
LIB_VERSION   0x677
LIB_VERSION_NUMBER 6,7,7,6
LIBRARY_PATH  /usr/local/Cellar/imagemagick/6.7.7-6/lib/ImageMagick
LIBS          -lMagickCore -lfreetype -ljpeg -lbz2 -lz -lm -Wl,-framework,OpenCL -lm -lpthread
NAME          ImageMagick
PCFLAGS
PREFIX        /usr/local/Cellar/imagemagick/6.7.7-6
QuantumDepth  16
RELEASE_DATE  2012-09-18
SHARE_PATH    /usr/local/Cellar/imagemagick/6.7.7-6/share/ImageMagick
SVN_REVISION  8165
TARGET_CPU    x86_64
TARGET_OS     darwin12.1.0
TARGET_VENDOR apple
VERSION       6.7.7
WEBSITE       http://www.imagemagick.org

Path: [built-in]

Name          Value
-------------------------------------------------------------------------------
NAME          ImageMagick

我试图卸载/安装libtiff,imagemagick,只是无法正常工作

I have tried to uninstall/install libtiff, imagemagick, just won't work

$ brew uninstall libtiff
$ brew install imagemagick
$ brew uninstall imagemagick
$ brew install imagemagick

我知道我的安装有什么问题吗?在此先感谢,

Any idea of what's wrong with my installation? Thanks in advance,

推荐答案

我遇到了同样的问题,并设法解决了这个问题。

I've been having the same problem and just managed to fix it.

brew install libtiff
brew install imagemagick --with-libtiff

我尝试了多次卸载和重新安装imagemagick和libtiff的组合,但每次都有相同的结果。我希望brew会神奇地接受libtiff并链接它。

I tried a number of times combinations of uninstalling and reinstalling imagemagick and libtiff, but had the same results each time. I was hoping that brew would magically pick up on libtiff and link it in.

我最终找到 with-libtiff 通过查看命令的输出选项

I eventually found the with-libtiff option by looking at the output of the command

brew info imagemagick

2013年1月30日之前,该选项名为 - use-tiff

这篇关于Imagemagick在mac os x mountain lion上找不到.tiff格式的委托库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 00:14