weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
1.97k stars 193 forks source link

Support for Heic (Heif) #427

Closed QuadStingray closed 2 months ago

QuadStingray commented 3 months ago

Have you any plans to support convert Heic format to one of your target conversion formats?

Current Response when I convert a Heic File to PNG:

{
  "status": "error",
  "code": 400,
  "message": "libvips error: source: bad seek to 2198796\nsource: bad seek to 2198796\nheif: Unsupported feature: Unsupported codec (4.3000)\n"
}
kleisauke commented 3 months ago

We do support HEIC to PNG conversion, as detailed in our news article.

For self-hosted instances, this functionality requires the use of the weserv/rpms packages. Please refer to https://github.com/weserv/rpms/issues/1#issuecomment-1317204593 for detailed instructions on how to use these RPM packages.

QuadStingray commented 2 months ago

Thanks for your help! It works.