Blazing-fast client-side image compression library for React with Web Worker support
عن هذا المشروع
React-Shrink Blazing-fast client-side image compression library for React with Web Worker support Compress images in the browser Reduce file sizes by 70-99% WebP, AVIF, JPEG support Zero dependencies Intelligent image compression engine for React applications. Optimize images client-side before upload with adaptive quality algorithms, Web Worker parallelization, and automatic format selection. Perfect for React, Next.js, and Vite projects. Quick Start · API Docs · Live Examples · Benchmarks ✨ Key Features Image Compression & Optimization: 🚀 Web Worker Compression - Non-blocking, parallel image processing 🎯 Adaptive Quality - Binary search algorithm meets exact size targets (300KB, 500KB, 1MB) 🖼️ Modern Image Formats - WebP, AVIF, JPEG with automatic browser fallback 📉 70-99% Size Reduction - Proven compression ratios from real-world testing Developer Experience: 📦 Batch Image Processing - Compress multiple images concurrently 📱 HEIC/HEIF Support - Convert iOS images (iPhone photos) 🎨 PNG Transparency - Preserves alpha channels automatically 📊 Upload Progress Tracking - Real-time compression progress callbacks 🔧 TypeScript First - Complete type definitions and IntelliSense
من ملف README الخاص بالمشروع على
GitHub
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/react-shrink)