Make images smaller.
Keep control.

dusimagez is an offline image compressor: compress to a quality you pick, or to an exact target file size, and get a full before/after report. One Rust core, bindings for Rust, JavaScript, Python, Go, PHP, Kotlin and Swift, plus a CLI. Your images never leave your machine.

dusimagez compress input.jpg output.jpg --quality 80
dusimagez compress input.jpg output.jpg --target-bytes 200000
dusimagez info input.jpg

Why dusimagez

Target size, not just quality

Give it a byte budget. It binary-searches quality (and downscales if it must) until the file fits — or fails honestly with TARGET_SIZE_UNREACHABLE.

A report, not just bytes

Original size, output size, bytes and percent saved, the quality actually used, and whether the image was resized.

Pro controls

Subsampling, progressive JPEG, PNG palette quantise, WebP/AVIF effort, metadata strip/keep, presets, DPI, auto-orient.

One core, every language

The same Rust core backs all 7 bindings and the CLI — and all of them run the same shared test vectors, so results agree.

Offline by design

No upload, no API key, no network at runtime. Batch mode reports per-item errors and never aborts the batch.

Bilingual errors

8 stable error codes, each with an English and a Hindi message, identical in every binding.

Honest limits (v0.1.0)

No HEIC. AVIF encode is lossy-only / 8-bit. GIF encode is first-frame only for animated input. Whole image in memory, no streaming. Full details on the Formats page.