| Crates.io | pixelsqueeze |
| lib.rs | pixelsqueeze |
| version | 1.0.0 |
| created_at | 2025-09-28 15:07:01.42468+00 |
| updated_at | 2025-09-28 15:07:01.42468+00 |
| description | 🎨 Squeeze pixels, not quality! Lightning-fast image compression that makes your files smaller while keeping them stunning |
| homepage | https://github.com/SujalXplores/PixelSqueeze |
| repository | https://github.com/SujalXplores/PixelSqueeze |
| max_upload_size | |
| id | 1858415 |
| size | 77,644 |
Squeeze pixels, not quality! ✨
PixelSqueeze is a blazingly fast, developer-friendly image compression tool that shrinks your files without compromising visual excellence. Built with Rust for maximum performance and wrapped in a beautiful CLI that makes compression actually enjoyable.
Stop settling for bloated images. Whether you're optimizing for web performance, saving storage space, or just want lightning-fast compression, PixelSqueeze delivers professional results with zero hassle.
cargo install pixelsqueeze
Windows (PowerShell):
irm https://raw.githubusercontent.com/SujalXplores/PixelSqueeze/main/install.ps1 | iex
macOS/Linux:
curl -sSL https://raw.githubusercontent.com/SujalXplores/PixelSqueeze/main/install.sh | bash
Download from GitHub Releases for:
git clone https://github.com/SujalXplores/PixelSqueeze.git
cd PixelSqueeze
cargo build --release
# Compress a single image
pixelsqueeze photo.jpg
# Batch compress with custom quality
pixelsqueeze images/ --quality 85 --recursive
# Convert to WebP for maximum savings
pixelsqueeze photos/ --format webp --output optimized/
# Compress with default settings (80% quality, JPEG)
pixelsqueeze image.jpg
# Batch process entire directories
pixelsqueeze photos/ --recursive
# High-quality web optimization
pixelsqueeze portfolio/ --quality 90 --max-width 1920 --format webp --recursive
# Ultra compression for thumbnails
pixelsqueeze thumbnails/ --quality 60 --max-width 300 --max-height 300
# Convert everything to modern WebP
pixelsqueeze legacy_images/ --format webp --quality 85 --output modern_images/
# Perfect for social media (Instagram-ready)
pixelsqueeze posts/ --max-width 1080 --max-height 1080 --quality 85
# Optimize for email attachments
pixelsqueeze documents/ --quality 70 --max-width 800 --recursive
| Option | Short | Description | Default |
|---|---|---|---|
--output |
-o |
Output directory | ./compressed |
--quality |
-q |
Compression quality (1-100) | 80 |
--format |
-f |
Output format (jpeg, png, webp) | jpeg |
--recursive |
-r |
Process directories recursively | false |
--max-width |
Maximum width for resizing | None | |
--max-height |
Maximum height for resizing | None | |
--help |
-h |
Show help information |
Before PixelSqueeze:
After PixelSqueeze:
| Metric | Result |
|---|---|
| Speed | 500+ images/minute |
| Memory | Ultra-efficient streaming |
| Quality | Visually lossless compression |
| Savings | 30-80% size reduction |
| Formats | JPEG, PNG, WebP |
SujalXplores - Passionate about making developer tools that don't suck.
Found a bug? Have a cool feature idea? Contributions make the open-source world go round!
git checkout -b amazing-feature)git commit -m 'Add amazing feature')git push origin amazing-feature)This project is licensed under the MIT License (LICENSE-MIT) - simple, permissive, and developer-friendly!
Made with ❤️ and lots of ☕ by SujalXplores
If PixelSqueeze saved you time, consider giving it a ⭐ on GitHub!