3

I'm trying to install (build) ImageMagick (currently 6.9.0) on a Mac running OS X 10.9.5. I need the JP2 support, and for some reasons, while enabling jp2 with configure, I got this warning:

configure: WARNING: unrecognized options: --with-jp2

and the delegates table leave me with a blank as a value:

JPEG-2000         --with-jp2=yes

and got that at the end:

CXXFLAGS        = -g -O2 -D_THREAD_SAFE -pthread
FEATURES        = DPC HDRI OpenMP
DELEGATES       = bzlib mpeg fftw fontconfig freetype jng jpeg pango png ps tiff x zlib

I can build it like this but the JP2 won't work, I know it as I tried. So I'm kinda stuck here, how can I force the jp2 delegate?

Thanks

4

2 回答 2

7

如果您使用的是自制软件,那么只需设置适当的标志,在这种情况下--with-openjpeg,安装您就可以了

brew install imagemagick --with-openjpeg

如果已经安装了 imagemagick,请先使用brew reinstall imagemagick --with-openjpeg或卸载。还请记住,您可以随时检查可用的 brew 选项brew info imagemagick(这适用于任何包/公式)。

于 2017-01-04T13:46:44.397 回答
0

使用 brew 卸载 ImageMagick。确保 convert 不显示任何内容,然后 brew install ImageMagick。希望这可以帮助!为我工作!

于 2015-07-28T20:17:41.620 回答