简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM