From beaea54b543ec2af5724afc79ed407b7d340860c Mon Sep 17 00:00:00 2001
From: Sachin <sachinganesh@outlook.com>
Date: Fri, 4 Oct 2019 10:38:09 +0530
Subject: [PATCH] Update README.md

---
 README.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/README.md b/README.md
index 4111bdb..f4c7fd9 100644
--- a/README.md
+++ b/README.md
@@ -135,6 +135,19 @@ screenshotController.capture(
     pixelRatio: 1.5
 )
 ```
+---
+Sometimes rastergraphics like images and map may not be captured by the plugin with default configurations. The issue is discussed [here](https://api.flutter.dev/flutter/flutter_driver/FlutterDriver/screenshot.html). 
+
+```
+...screenshot is taken before the GPU thread is done rasterizing the frame 
+so the screenshot of the previous frame is taken, which is wrong.
+```
+
+The solution is to add a small delay before capturing. 
+
+```dart
+screenshotController.capture(delay: Duration(milliseconds: 10))
+```
 
 ## Known Bugs
 - Image will not be updated if same filename is given multiple times
-- 
2.17.1