NAG
NAG

Reputation: 501

How to install libvips with mozjpeg and libimagequant on Debian/Ubuntu?

I want to build a server for treat all images of a website.

I have a script in Nodejs using Sharp and I would like to setup the server with the best libs to use maximum power of libvips.

I would like to get help to install it.

I can install libvips-dev using:

apt-get install libvips-dev

But it don't have mozjpeg and libimagequant.

Upvotes: 1

Views: 2204

Answers (1)

GAD3R
GAD3R

Reputation: 4635

To install libimagequant through apt you should have debian (Buster, Bullseye or Sid).

On Ubuntu the package is available only for Ubuntu disco 19.04 and eoan 19.10.

sudo apt install libimagequant-dev

The package mozjpeg is available on this git repository, the build instruction and requirement : building.md

Upvotes: 2

Related Questions