linux - ImageMagick 没有解码委托(delegate)

标签 linux imagemagick

我尝试压缩 JPEG 文件并在 Linux 机器上安装 ImageMagick。多溴联苯。

enter image description here

下面是转换命令的样子。

enter image description here

有解决办法吗?

以下是日志:

No package 'pango' found
configure:32506: result: 
configure:32565: result: -------------------------------------------------------------
configure:32569: checking for PNG
configure:32576: $PKG_CONFIG --exists --print-errors "libpng >= 1.0.0"
configure:32579: $? = 0
configure:32593: $PKG_CONFIG --exists --print-errors "libpng >= 1.0.0"
configure:32596: $? = 0
configure:32634: result: yes
configure:32638: result: 
configure:32682: result: -------------------------------------------------------------
configure:32686: checking for RAW_R
configure:32693: $PKG_CONFIG --exists --print-errors "libraw_r >= 0.14.8"
Package libraw_r was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw_r.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw_r' found
configure:32696: $? = 1
configure:32710: $PKG_CONFIG --exists --print-errors "libraw_r >= 0.14.8"
Package libraw_r was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw_r.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw_r' found
configure:32713: $? = 1
configure:32727: result: no
No package 'libraw_r' found
configure:32755: result: 
configure:33003: result: -------------------------------------------------------------
configure:33005: checking for TIFF
configure:33007: result: 
configure:33011: checking tiff.h usability
configure:33011: gcc -std=gnu99 -std=gnu99 -c -I/usr/include/libpng15        -fopenmp -g -O2 -Wall -mtune=corei7 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 conftest.c >&5
conftest.c:260:18: fatal error: tiff.h: No such file or directory
 #include <tiff.h>
                  ^
compilation terminated.
configure:33011: $? = 1
configure: failed program was:

最佳答案

编译进去。

./configure -with-png=yes \
       --with-jpeg=yes \
       --with-jp2=yes \
       --with-freetype=yes

来自 http://www.imagemagick.org/discourse-server/viewtopic.php?t=22086 .

关于linux - ImageMagick 没有解码委托(delegate),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50113734/

相关文章:

Python Unittest 和 Multiprocessing 在顺序运行时失败

ruby-on-rails - 找不到回形针文件错误

node.js - 在 ImageMagick 中通过 Node.JS 使用远程图像

ffmpeg - 使用多个图像创建动态视频

imagemagick - 如何转换 base64 图像?

c - 调用 execve( man, args, env ) 时出现 execve 错误

c++ - 在 Linux 上分离堆?

linux - Linux中 "process"、 "threads"、 "task"、 "jobs"有什么区别和关系?

linux - 一个进程具有相同的 virt 和 res

r - 动画包无法找到带有 convert = "convert"的 ImageMagick