Capturable Versions Save

🚀Jetpack Compose utility library for capturing Composable content and transforming it into Bitmap Image🖼️

v2.1.0

2 months ago

Changes

  • [#140] Fix: Stateful UI not updating when Modifier.capturable() is used.
  • [#145] Exposed default public constructor of class CaptureController.
  • [#146] Fix: Update the instance of CaptureController properly without losing capture requests inside Modifier updates via ModifierNodeElement#update.

Dependent Targets

  • Jetpack Compose: 1.6.x (BoM: 2024.02.01)
  • Kotlin: 1.9.22

Full Changelog: https://github.com/PatilShreyas/Capturable/compare/v2.0.0...v2.1.0

v2.0.0

3 months ago

Changes

  • [#40] [#59] Fixes the issue of capturing the scrollable content
  • [#100] Added new Modifier API for capturing the content and deprecated old @Composable method.
  • [#101] Removed the usage of PixelCopy API fixing that fixes the issue of capturing unwanted content

Dependent Targets

  • Jetpack Compose: 1.6.0
  • Kotlin: 1.9.22

Full Changelog: https://github.com/PatilShreyas/Capturable/compare/v1.0.3...v2.0.0

v1.0.3

2 years ago

Changes

Fixed the following issues

  • [#13] Fixed capturing composable clipped inside Window / Screen.
  • [#22] Fixed crash while capturing composable inside Fragment.

Dependent Targets

  • Jetpack Compose: 1.1.0
  • Kotlin: 1.6.10

Full Changelog: https://github.com/PatilShreyas/Capturable/compare/v1.0.2...v1.0.3

v1.0.2

2 years ago

Changes

[#7] Fix issue: Can't get the Bitmap when Capturable includes Network image

Fixed the issue IllegalArgumentException: Software rendering doesn't support hardware bitmaps on capturing Composable which includes network image (i.e. Picasso, Glide, coil, etc). This issue was occurring on devices above Android Oreo (API 26+) in which drawing Bitmap from Canvas causes such issues while drawing hardware-generated Bitmap (i.e. image loaded from the network).

Dependent Targets

  • Jetpack Compose: 1.0.5
  • Kotlin: 1.5.31

Full Changelog: https://github.com/PatilShreyas/Capturable/compare/v1.0.1...v1.0.2

v1.0.1

2 years ago

Changes

Provide Throwable in callback onCaptured of Capturable composable function so that if any issue occurs, it can be handled.

Dependent Targets

  • Jetpack Compose: 1.0.5
  • Kotlin: 1.5.31

v1.0.0

2 years ago
  • Initial release

Dependent Targets

  • Jetpack Compose: 1.0.5
  • Kotlin: 1.5.31