gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 12:07:35 26 4
gpt4 key购买 nike

我尝试压缩 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com