79143676

Date: 2024-10-31 06:30:08
Score: 0.5
Natty:
Report link

The pre-built sharp versions do not include HEIF (particularly, not HEIC, see https://github.com/lovell/sharp/issues/4132#issuecomment-2178591889). Note that the web page for sharp doesn't claim it can do HEIF, and https://sharp.pixelplumbing.com/api-output#heif states "Support for patent-encumbered HEIC images using hevc compression requires the use of a globally-installed libvips compiled with support for libheif, libde265 and x265."

You can build it yourself - there are instructions at https://sharp.pixelplumbing.com/install#building-from-source which should be enough to enable it.

Note that HEIF doesn't necessarily mean HEIC, but that is usually what people expect to see.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: BradHards