1

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.

Adam
  • 1,254
  • 12
  • 25
NAG
  • 341
  • 6
  • 29

1 Answers1

2

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

GAD3R
  • 4,317
  • 1
  • 23
  • 34
  • How can I install it in ubuntu 16.04? Can't find the apt-get package for it on ubuntu 16.04 – planet_hunter Oct 29 '19 at 15:12
  • You can download the libimagequant source from https://github.com/ImageOptim/libimagequant/releases and then compile it using the instructions at https://github.com/ImageOptim/libimagequant#compiling-and-linking – Gabriel Deal Jan 31 '20 at 21:10