# Image Compressor

> Compress and resize images (JPEG, PNG, WebP) while maintaining visual quality.

- Open in browser: https://pockettoolbox.org/en/image-compressor
- Runs entirely in your browser; files and input are never uploaded.

## How it works

Compress and resize images in real-time.

The tool draws images scaled onto a canvas and applies the chosen compression ratio during conversion to JPEG or WebP.

Draws the scaled image onto an offscreen canvas. Applies native browser compression with configurable quality levels during JPEG or WebP export.

## Popular tasks

- [Compress & Resize Images](https://pockettoolbox.org/en/compress-image)

---
PocketToolbox (https://pockettoolbox.org/en)
