libimagequant
1.1、libimagequant简介
是什么 ?:a small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.
开发语言:C | Rust
官方主页:https://pngquant.org/lib
源码仓库:https://github.com/ImageOptim/libimagequant
1.2、通过包管理器安装libimagequant
操作系统包管理器安装命令
Allvcpkg
vcpkg install libimagequant
vcpkg install libimagequant:x64-osx
vcpkg install libimagequant:x64-linux
vcpkg install libimagequant:x64-windows
macOSHomeBrewbrew install libimagequant
GNU/LinuxHomeBrewbrew install libimagequant
aptsudo apt-get install -y libimagequant
CentOSyumsudo yum install -y libimagequant
dnfsudo dnf install -y libimagequant
openSUSEzyppersudo zypper install -y libimagequant
Alpine Linuxapksudo apk add libimagequant

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm libimagequant
Gentoo LinuxPortagesudo emerge libimagequant
1.3、通过编译源码安装libimagequant
1.4、libimagequant中包含的头文件
1.5、libimagequant中包含的库文件
  • libimagequant.{a | so | dylib}