compresso
Ouvrir l’app

Web Worker image compression

compresso.js/pool exposes createPool() and compressMany() — parallel jobs off the main thread with crash/timeout recovery. Falls back silently where Workers are blocked.

Comment ça marche

  1. import { createPool } from "compresso.js/pool"
  2. const pool = createPool()
  3. await pool.compressMany(files, options)

Questions courantes

CSP requirements?
Needs worker-src self; HEIC needs wasm-unsafe-eval in script-src.

Pour les développeurs

Intégrez la compression dans votre flux d’envoi :

npm install compresso.js
npm · Docs

Associé