![HEIF/HEIC 缩略图问题](https://linux22.com/image/932463/HEIF%2FHEIC%20%E7%BC%A9%E7%95%A5%E5%9B%BE%E9%97%AE%E9%A2%98.png)
我对 HEIC 缩略图有疑问。
我可以heic
通过图像查看器打开文件,但是无法显示缩略图。
当我尝试heif-thumbnailer
通过运行安装时
sudo apt-get install heif-thumbnailer
我收到以下消息:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
heif-thumbnailer : Depends: libheif1 (= 1.9.1-1~ppa1~ubuntu20.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我该如何修复此问题?
更新:
我注意到事情变得更加奇怪了:
一些 HEIC 文件做有缩略图,但图片查看器无法打开它们,有些不要有缩略图,但图像查看器会打开它们......
答案1
自 2022 年 9 月起
sudo apt-get install libheif1 heif-thumbnailer
立即为我的 heic 图像生成缩略图,无需运行任何命令或重新启动任何程序 :-) 效果非常好 :-)