ZipDrop automatically converts supported images to WebP format, dramatically reducing file sizes while maintaining visual quality.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/theforkproject-dev/zipdrop/llms.txt
Use this file to discover all available pages before exploring further.
Supported Formats
The following image formats are automatically converted to WebP:- JPG/JPEG - Most common photo format
- PNG - Screenshots and graphics
- GIF - Animated images (first frame)
- BMP - Bitmap images
- TIFF/TIF - High-quality images
processor.rs:148-158
WebP files are passed through without re-conversion to avoid quality loss.
Conversion Quality
ZipDrop uses the Rustimage crate to convert images at 80% quality, which provides:
- 50-80% smaller file sizes compared to original JPG/PNG
- Visually identical quality for most use cases
- Fast processing using native Rust performance
processor.rs:171-209
When Conversion Happens
Image conversion only occurs for single image files. The logic is:processor.rs:299-312
File Size Reduction
Here’s a typical example of file size savings:| Original Format | Original Size | WebP Size | Reduction |
|---|---|---|---|
| screenshot.png | 2.4 MB | 580 KB | 76% |
| photo.jpg | 3.1 MB | 920 KB | 70% |
| diagram.bmp | 8.5 MB | 1.2 MB | 86% |
ProcessResult struct tracks both sizes:
processor.rs:36-42
Unique Filenames
Each converted file gets a unique 8-character ID to prevent conflicts:Unsupported Image Formats
Some image formats are not auto-converted:- HEIC/HEIF - Modern Apple formats (passthrough)
- SVG - Vector graphics (passthrough)
- ICO - Icon files (passthrough)
- RAW formats (CR2, NEF, ARW) - Professional photos (passthrough)
Browser Compatibility
WebP is supported by:- ✅ Chrome/Edge (all versions)
- ✅ Firefox 65+
- ✅ Safari 14+
- ✅ iOS Safari 14+
- ✅ Android Chrome
Technical Details
ZipDrop uses these crates for image processing:image crate provides:
- Hardware-accelerated decoding
- Multi-threaded processing
- Memory-safe Rust implementation
- Support for all major formats