kleisauke / net-vips

.NET binding for libvips.
https://kleisauke.github.io/net-vips/
MIT License
392 stars 32 forks source link

heif: Unsupported feature: Unsupported codec (4.3000) #202

Closed Charltsing closed 1 year ago

Charltsing commented 1 year ago

I use NetVips.2.3.0

pic : https://charltsing.lanzoum.com/iUQkB0r16reb

It looks like NetVips.Native.win.8.14.2 is using a version of libvips+libheif compiled without support for libde265. https://github.com/libvips/libvips/discussions/3407

I found libvips support libheif (ensure compatibility with libheif > 1.14.2 [kleisauke]) https://github.com/libvips/libvips/releases/tag/v8.14.2

what can i do?

kleisauke commented 1 year ago

Reading HEIC images requires a custom, globally-installed libvips that has itself been compiled with support for libde265.

The prebuilt binaries will not include any support for HEIC whilst it is patent-encumbered.

Charltsing commented 1 year ago

Reading HEIC images requires a custom, globally-installed libvips that has itself been compiled with support for libde265.

The prebuilt binaries will not include any support for HEIC whilst it is patent-encumbered.

Where can I download the libvips binaries with support for libde265?

kleisauke commented 1 year ago

Where can I download the libvips binaries with support for libde265?

You'll have to compile these binaries yourself (and therefore take on the patent risk yourself) - see: https://github.com/libvips/build-win64-mxe/pull/14 https://github.com/libvips/build-win64-mxe#hevc-related-dependencies

kleisauke commented 1 year ago

I hope this information helped. Please feel free to re-open if questions remain.