项目介绍
Squish是一个开源免费的图像压缩工具,Squish。支持 JPEG、PNG、WebP 等多种图像格式,具备高性能图像压缩优化,并能保持图像质量不变。 此外,还支持批量处理、格式转换、实时预览等功能,可在浏览器上直接使用,并且不会上传到服务器。
基于浏览器的现代图像压缩工具,利用 WebAssembly 实现高性能图像优化。Squish 支持多种格式,并提供直观的界面来压缩图像而不影响质量。
GitHub开源地址:https://github.com/addyosmani/squish
Features特点
支持多种图像格式:
AVIF (AV1 Image Format) AVIF(AV1 图像格式)
JPEG (using MozJPEG) JPEG(使用 MozJPEG)
JPEG XL JPEG 格式
PNG (using OxiPNG) PNG(使用 OxiPNG)
WebP WebP
主要功能
Browser-based compression (no server uploads needed) 基于浏览器的压缩(无需服务器上传)
Batch processing support 批处理支持
Format conversion 格式转换
Quality adjustment per format 每种格式的质量调整
Real-time preview 实时预览
Size reduction statistics 尺寸减小统计
Drag and drop interface 拖放界面
Smart queue for compressing large number of files 用于压缩大量文件的智能队列
技术
Squish is built with modern web technologies:
Squish 采用现代网络技术构建:
React + TypeScript for the UI React + TypeScript 用于 UI
Vite for blazing fast development Vite 实现极速发展
WebAssembly for native-speed image processing WebAssembly 用于本机速度图像处理
Tailwind CSS for styling Tailwind CSS 用于样式
jSquash for image codec implementations jSquash 用于图像编解码器实现