Skip to content

Squish: 高效浏览器端批量图像压缩工具

Published:

原文链接


Squish 🎨

License: MIT

A modern, browser-based image compression tool that leverages WebAssembly for high-performance image optimization. Squish supports multiple formats and provides an intuitive interface for compressing your images without compromising quality.

✨ Features

🛠️ Technology

Squish is built with modern web technologies:

🚀 Getting Started

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/addyosmani/squish.git
cd squish
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Build for production:
npm run build

💡 Usage

  1. Drop or Select Images: Drag and drop images onto the upload area or click to select files
  2. Choose Output Format: Select your desired output format (AVIF, JPEG, JPEG XL, PNG, or WebP)
  3. Adjust Quality: Use the quality slider to balance between file size and image quality
  4. Download: Download individual images or use the “Download All” button for batch downloads

🔧 Default Quality Settings

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments


Previous Post
StoryWeaver: 统一世界模型实现知识增强的故事角色定制
Next Post
hatoo/oha: 受 rakyll/hey 启发的 HTTP 负载生成器 Ohayou(おはよう)