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
操作系统 | 包管理器 | 安装命令 |
---|
All | vcpkg | vcpkg install libimagequant
vcpkg install libimagequant:x64-osx
vcpkg install libimagequant:x64-linux
vcpkg install libimagequant:x64-windows
|
macOS | HomeBrew | brew install libimagequant |
GNU/Linux | HomeBrew | brew install libimagequant |
| apt | sudo apt-get install -y libimagequant |
CentOS | yum | sudo yum install -y libimagequant |
| dnf | sudo dnf install -y libimagequant |
openSUSE | zypper | sudo zypper install -y libimagequant |
Alpine Linux | apk | sudo apk add libimagequant |
Arch Linux ArcoLinux Manjaro Linux | pacman | sudo pacman -Syyu --noconfirm sudo pacman -S --noconfirm libimagequant |
Gentoo Linux | Portage | sudo emerge libimagequant |
1.3、通过编译源码安装libimagequant
1.4、libimagequant中包含的头文件
1.5、libimagequant中包含的库文件
- libimagequant.{a | so | dylib}