captureComposable

fun captureComposable(width: Int = DEFAULT_WIDTH, height: Int = AUTO_HEIGHT, compositionLocals: List<ProvidedValue<*>> = emptyList(), fontScale: Float = 1.0f, content: @Composable () -> Unit): BufferedImage