我想在Windows上利用HEIF的好处。我觉得我已经做了相当多的搜索,我发现了很多关于在Windows上打开HEIF文件并从HEIF转换为JPG的内容。我找不到任何关于将流行的无损类型(BMP、PNG、GIF)转换为HEIF的内容。
有没有一个库(或可用的应用程序)可以在Windows上从流行的无损类型转换为HEIF?
发布于 2019-11-07 15:17:52
Windows Imaging Component (WIC) API在最新的Windows10中自带Microsoft HEIF编码器,也就是说,您可以使用该接口进行图像编码。
### Microsoft HEIF Encoder
* Class Identifier: CLSID_WICHeifEncoder
* Signing Status: WICComponentSigned
* Author: Microsoft
* Vendor Identifier: {F0E749CA-EDEF-4589-A73A-EE0E626A2A2B}
* Version: 1.0.0.0
* Spec Version: 1.0.0.0
* Friendly Name: Microsoft HEIF Encoder
* IWICBitmapCodecInfo:
* Container Format: GUID_ContainerFormatHeif
* Pixel Formats: GUID_WICPixelFormat32bppBGR
* Color Management Version: 1.0.0.0
* MIME Types: image/heic,image/heif
* File Extensions: .heic,.heif
* IWICBitmapEncoderInfo您可能需要从应用商店安装HEIF Image Extensions以启用格式支持。
https://stackoverflow.com/questions/58740790
复制相似问题