compresso
App öffnen

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.

So funktioniert’s

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

Häufige Fragen

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

Für Entwickler

Komprimierung in den Upload-Flow einbinden:

npm install compresso.js
npm · Docs

Verwandt