[英]heif-convert error: JPEG support has not been compiled in
I'm trying to convert HEIC files to JPEG.我正在尝试将 HEIC 文件转换为 JPEG。 So I installed the libheif library:所以我安装了 libheif 库:
https://github.com/strukturag/libheif
我克隆https://github.com/strukturag/libheif
./autogen.sh
我跑了./autogen.sh
./configure
我跑了./configure
make
我跑make
sudo make install
我跑了sudo make install
Now the heif-convert
tool is installed but when I run heif-convert input.HEIC output.jpeg
, I get an error: JPEG support has not been compiled in
.现在安装了heif-convert
工具,但是当我运行heif-convert input.HEIC output.jpeg
,出现错误: JPEG support has not been compiled in
.
I don't understand what I did wrong (or more likely what I forgot to do) and I don't find anything on the internet.我不明白我做错了什么(或者更可能是我忘了做什么),而且我在互联网上找不到任何东西。 Can someone tell me how I can fix this?有人可以告诉我如何解决这个问题吗?
As mentioned in the comments (thanks btw), the solution was to install libjpeg-dev (via apt) and re-run configure/make/make install.正如评论中提到的(谢谢btw),解决方案是安装libjpeg-dev(通过apt)并重新运行configure/make/make install。
Works like a charm now.现在就像一个魅力。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.