Custom Compiled libvips For HEIC

See original GitHub issue

Following the prior HEIF/HEIC issue https://github.com/lovell/sharp/issues/1105 regarding the need for a custom compiled libvips package I did so.

I’ve used this docker file https://github.com/jcupitt/docker-builds/blob/master/libvips-amazonlinux2/Dockerfile except I’m using lambci/lambda:build-nodejs10.x as a base to have nodejs support.

Installation of libvips goes well and is successful. It finds libheif and references it in the supported formats during install.

Where I’m running into an issue is that when I install sharp I’m missing reference to the libvip lib files.

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
zoellnercommented, Jan 7, 2021

For anyone coming here looking for a lambda layer: I’ve created one that includes sharp with HEIC/HEIF support: https://github.com/zoellner/sharp-heic-lambda-layer It can be added to any lambda function. See repo for details.

3reactions
smcguinnesscommented, Jan 16, 2020

@Projkt-James I’m sorry for the quick dump but I’ve got this up https://github.com/smcguinness/SharpLayer as a getting started. Ultimately, you should be able to run the 2 commands and be off an running - but I’m sure there are lots of enhancements, and maybe even bugs in the docker install.

Ultimately, I’d love to get to a point of these dumping to the Sharp directory to read from, but for now, this has worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A brand new website interface for an even better experience!
Custom Compiled libvips For HEIC.
Read more >
Support for HEIC images - libvips
These profiles are compiled directly into the libvips shared library so there are no extra files to ship or to get lost. For...
Read more >
Image processing | Everything I know - My Knowledge Wiki
(Web); wasm-vips - libvips compiled to WebAssembly with Emscripten. ... heic-cli - Convert HEIC/HEIF images to JPEG and PNG on the command line....
Read more >
Can't get hosted ownCloud to display HEIC thumbnails / pictures
Hi! For the past few days I've been trying to get ownCloud to support HEIC images, with no luck. I'm using a fres...
Read more >
Libvips: A Fast Image Processing Library with Low Memory ...
Once configure is looking OK, compile and install with the usual: make sudo make install ... If available, libvips can load and save...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found