iZettle / android-html2bitmap

Generates a bitmap from html by rendering the content inside an off screen webview
MIT License
57 stars 20 forks source link

Image gets cut off #44

Open galjet86 opened 8 months ago

galjet86 commented 8 months ago

when using the following code, image html gets cut and image isn't showing the full page

val html2BitmapConfigurator: Html2BitmapConfigurator =
                    object : Html2BitmapConfigurator() {
                        override fun configureWebView(webview: WebView) {
                            webview.settings.loadWithOverviewMode = true
                            webview.settings.useWideViewPort = true
                        }
                    }