Popularity
0.8
Growing
Activity
0.0
Declining
13
2
0

Description

A small utility library for Jetpack Compose to capture Composable content to Android Bitmap.

The way this work is we listen to the coordinates of the Composable through Modifier.onGloballyPositioned & crop the bitmap to the coordinates we get from the callback from the nearest root composable attached to LocalView.current.

The working is similar to SemanticsNodeInteraction.captureToImage() which we use for screenshot testing.

Programming language: Kotlin
License: Apache License 2.0
Tags: Kotlin     Android     Library     Bitmap     Android-library     Jetpack-compose     Compose     Jetpack    

kapture alternatives and similar packages

Based on the "Kotlin" category.
Alternatively, view kapture alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of kapture or a related project?

Add another 'Kotlin' Package