diff --git a/html2bitmap/src/main/java/com/izettle/html2bitmap/Html2BitmapWebView.java b/html2bitmap/src/main/java/com/izettle/html2bitmap/Html2BitmapWebView.java index d58fbcb..b0c6372 100644 --- a/html2bitmap/src/main/java/com/izettle/html2bitmap/Html2BitmapWebView.java +++ b/html2bitmap/src/main/java/com/izettle/html2bitmap/Html2BitmapWebView.java @@ -209,7 +209,7 @@ private void pageFinished(int delay) { private Bitmap screenshot(WebView webView) { - Bitmap bitmap = Bitmap.createBitmap(webView.getMeasuredWidth(), webView.getMeasuredHeight(), Bitmap.Config.RGB_565); + Bitmap bitmap = Bitmap.createBitmap(webView.getMeasuredWidth(), webView.getMeasuredHeight(), Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(bitmap);