Skip to content

Tiny Compressor KTX 1.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 03:23
· 3 commits to main since this release
5cd0570

The WorkManager upload example has a concurrent-cleanup race, fixed in 1.2.1. The core compressor is unaffected.

Tiny Compressor KTX 1.2.0 supports Android 9+ and adds APIs for preparing images before upload.

  • Inspect actual output dimensions, format, bytes, and encoder quality with compressWithResult.
  • Use Options.forUpload(maxBytes) for a strict byte limit without retaining source EXIF.
  • Set minimum quality and dimensions with CompressionConstraints.
  • Compress batches with bounded concurrency, per-image results, and cancellation handling.
  • Try the interactive demo, compiled upload recipes, and reproducible measurements.
implementation("io.github.joelromanpr:tiny-compressor-ktx:1.2.0")

Existing APIs and Options() defaults remain available. The legacy default retains selected JPEG EXIF, including GPS; use the upload preset or keepExif = false when those details are unnecessary.

The attached demo APK is debug-signed. Its SHA-256 is in SHA256SUMS.

Quickstart and demo · Changelog · Changes since 1.1.0