Skip to content

v1.1.0

Choose a tag to compare

@joelromanpr joelromanpr released this 26 Sep 03:04
· 13 commits to main since this release
f1e0d71

What's new in 1.1.0

  • maxBytes now applies to the final output, including copied EXIF. An impossible target throws IOException.
  • File output is staged and atomically replaced after successful encoding. Concurrent cache outputs use unique filenames.
  • Byte-array output ignores Options.destination and avoids a disk round trip when JPEG EXIF retention is off.
  • PNG input retains PNG output unless WebP is requested; output extensions match the encoded format. JPEG orientation is normalized after decode.
  • The demo, README, contribution guide, and release checks have been refreshed. Publishing now requires a matching annotated version tag and passing build and Android device tests.

Install from Maven Central:

implementation("io.github.joelromanpr:tiny-compressor-ktx:1.1.0")

Requires Android 11 (API 30) or newer. keepExif remains true by default for compatibility; use false for uploads that should omit camera and GPS metadata.

See the README for examples and the changelog for the full list.