0

我想利用 HEIF 在 Windows 上的优势。我觉得我已经做了很多搜索,我发现了很多关于在 Windows 上打开 HEIF 文件以及从 HEIF 转换为 JPG 的信息。我找不到任何关于将流行的无损类型(BMP、PNG、GIF)转换为 HEIF 的信息。

是否有可以在 Windows 上从流行的无损类型转换为 HEIF 的库(或可用的应用程序)?

4

1 回答 1

0

Windows Imaging Component (WIC) API在最新的 Windows 10 中带有 Microsoft HEIF 编码器。也就是说,您可以使用该 API 进行图像编码。

### 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

您可能需要从 Store 安装HEIF Image Extensions以启用格式支持。

于 2019-11-07T07:17:51.810 回答