Squoosh is a browser-based image optimizer that compresses and converts image files directly within the local environment. By performing all operations on the user device, it eliminates the need for server-side processing, ensuring that sensitive data remains private and reducing network latency.
The tool utilizes a collection of high-performance image codecs compiled via WebAssembly to provide professional-grade file optimization and format conversion. To maintain interface responsiveness during resource-intensive tasks, the application offloads image manipulation to background threads and utilizes offscreen rendering for preview generation. A modular architecture ensures that compression libraries are loaded dynamically, keeping the application bundle efficient.
The project supports a range of image optimization workflows, allowing users to reduce file sizes while maintaining visual quality. It manages memory for large files through temporary local references, enabling integration into asset pipelines without requiring external command-line tools or backend infrastructure.