question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

libimagequant is installed but Sharp doesn't recognize it

See original GitHub issue

Libimagequant was installed from on Debian:

apt-get install libimagequant0

But the options.palette, options.quality, etc, doesn’t work.

Some help to put Sharp working with Libimagequant?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lovellcommented, Mar 31, 2019

When you run npm install sharp it will tell you if it found a globally-installed libvips.

ldd node_modules/sharp/build/Release/sharp.node will list the runtime dependencies.

1reaction
lovellcommented, Mar 28, 2019

You’ll need to compile libvips with support for libimagequant and install it globally, then reinstall sharp.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - libimagequant is installed but Sharp doesn't recognize it -
Libimagequant was installed from on Debian: apt-get install libimagequant0. But the options.palette, options.quality, etc, doesn't work.
Read more >
node.js - NodeJs Sharp Package - Support For PNG Quality
The global installation of libvisp does get picked up by sharp node package during installation but it fails.
Read more >
Pillow (PIL Fork) 5.2.0 documentation - 一译
libraqm is dynamically loaded in Pillow 5.0.0 and above, so support is available if all the libraries are installed. Windows support: Raqm support...
Read more >
libimagequant (LIQ) — Image Quantization Library - PNGQuant
Returns LIQ_BUFFER_TOO_SMALL if given size of the buffer is not enough to fit the entire image. See liq_get_palette() . The buffer is assumed...
Read more >
Scoop buckets by Github score
A bucket designed to collect niche but useful software. ... I'm missing in the main bucket, see https://github.com/lukesampson/scoop, 9, 0 · 0 ·...
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