Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mahozad committed Feb 10, 2024
1 parent 30fdcec commit 5d71c25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ fun Activity.captureToImageeee(comcon: CompositionContext, content: @Composable
println("hasComposition: ${composeView.hasComposition}")

val bitmap = Bitmap.createBitmap(
composeView.measuredWidth, composeView.measuredHeight,
composeView.measuredWidth,
composeView.measuredHeight,
Bitmap.Config.ARGB_8888
)
val canvas = Canvas(bitmap)
Expand Down

0 comments on commit 5d71c25

Please sign in to comment.