Skip to content

Releases: keiji/jp2k-decoder-android

v0.3.0

01 Feb 15:12
v0.3.0
bbc0d77

Choose a tag to compare

This release introduces new features, performance improvements, and a significant increase in test coverage.

✨ New Features

  • Partial Decode Functionality:
    • Added overloads to the decodeImage method that accept Rect and RectF arguments, enabling the efficient decoding of partial image regions.
    • Ratio-based region decoding is also supported for more flexible image manipulation.
  • Caching API:
    • Introduced a caching API (the precache method) in Jp2kDecoder and Jp2kDecoderAsync. This improves the performance of subsequent getSize and decodeImage calls.
  • Image Size Retrieval:
    • Implemented the getSize method to retrieve image dimensions (width, height) without decoding the entire image data.

🚀 Improvements

  • Increased Test Coverage:
    • Significantly improved test coverage for Jp2kDecoder, Jp2kDecoderAsync, and the native C library to enhance robustness.
    • Added boundary value tests, particularly for the partial decoding feature.
  • C Wrapper Enhancements:
    • Improved the coverage, robustness, and error handling of the underlying C wrapper.

What's Changed

  • Add Usage Guide to README.md by @google-labs-jules[bot] in #81
  • Bump nmcp from 1.4.2 to 1.4.3 in /android by @dependabot[bot] in #83
  • Bump actions/upload-artifact from 4 to 6 by @dependabot[bot] in #82
  • Bump androidx.compose:compose-bom from 2025.12.01 to 2026.01.00 in /android in the androidx group by @dependabot[bot] in #84
  • Fix constant access in Jp2kDecoderAsync.kt by @google-labs-jules[bot] in #85
  • Implement getSize to retrieve image dimensions without decoding by @keiji in #89
  • Bump nmcp from 1.4.3 to 1.4.4 in /android by @dependabot[bot] in #92
  • Bump the androidx group in /android with 2 updates by @dependabot[bot] in #90
  • Bump gradle-wrapper from 9.1.0 to 9.3.0 in /android by @dependabot[bot] in #91
  • Add coverage measurement and reporting for C and Android by @keiji in #93
  • Improve test coverage and error handling by @keiji in #94
  • Add cached data support to Jp2kDecoder and Jp2kDecoderAsync by @keiji in #95
  • Implement partial decoding for JPEG2000 by @keiji in #96
  • Update sample app with ROI decoding and add documentation by @keiji in #97
  • Support ratio-based region decoding (0.0-1.0) by @keiji in #98
  • Improve test coverage for C wrapper and Android library by @keiji in #99
  • Improve test coverage for Jp2kDecoderAsync and C wrapper by @keiji in #100
  • Add boundary value tests for partial decoding by @keiji in #101
  • Improve Android test coverage > 70% by @keiji in #102
  • Update .gitignore by @keiji in #105
  • Improve Android Test Coverage > 80% by @keiji in #107
  • Increase Android Test Coverage by @keiji in #108
  • Fix C coverage reporting by using gcov directly by @keiji in #109
  • Improve C wrapper coverage with boundary and error tests by @keiji in #110
  • Document and implement Float and RectF partial decoding by @keiji in #111

Full Changelog: v0.2.0...v0.3.0

v0.2.0

04 Jan 06:42
v0.2.0
90b9aa7

Choose a tag to compare

New Features

  • Added support for 1-channel images.

Breaking Changes

  • Moved applicationContext injection from the constructor to the init method.
  • Introduced strict state management.

What's Changed

Full Changelog: v0.1.0...v0.2.0

v0.1.0

02 Jan 10:53
v0.1.0
7186009

Choose a tag to compare

Known Issue

  • Unable to decode 1-channel images.

What's Changed

New Contributors

Full Changelog: https://github.com/keiji/jp2k-decoder-android/commits/v0.1.0