Repository navigation
v1.1.0
What's new in 1.1.0
maxBytesnow applies to the final output, including copied EXIF. An impossible target throwsIOException.- File output is staged and atomically replaced after successful encoding. Concurrent cache outputs use unique filenames.
- Byte-array output ignores
Options.destinationand 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.