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 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.
Original size, output size, bytes and percent saved, the quality actually used, and whether the image was resized.
Subsampling, progressive JPEG, PNG palette quantise, WebP/AVIF effort, metadata strip/keep, presets, DPI, auto-orient.
The same Rust core backs all 7 bindings and the CLI — and all of them run the same shared test vectors, so results agree.
No upload, no API key, no network at runtime. Batch mode reports per-item errors and never aborts the batch.
8 stable error codes, each with an English and a Hindi message, identical in every binding.