|
Rank: Newbie Groups: Member
Joined: 10/4/2016 Posts: 3
|
hi, we're using the webview.capture method to create partial screenshots of websites. we've been working with version 18.3.46 without any issues. in any versions 19.*, alas, the two overloaded methods (see below) appear to be not working correctly anymore.
Code: C#
Image Capture(Rectangle);
Image Capture(Rectangle, Size);
is that a bug and is it going to get fixed? here is the sample code. run in simple console app to reproduce the issue:
Code: C#
var browserThread = new ThreadRunner();
var webView = browserThread.CreateWebView(1920, 1000);
webView.LoadUrlAndWait("https://www.essentialobjects.com");
using (var partialCapture = webView.Capture(new System.Drawing.Rectangle(0, 500, 1920, 500)))
{
partialCapture.Save(@"D:\Temp\captureTest.png", ImageFormat.Png);
}
result using 18.3.46: https://drive.google.com/open?id=1epFNmOxS6Lpp9CBiywXc9AX40Z_zsevFresult using 19.0.56: https://drive.google.com/open?id=1pGR0Qnc52Pwhyo6PsRhqw9cn5QKUW1VF
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
We have confirmed this to be an issue in our current build. This issue will be fixed in our next build. We will reply here again as soon as the new build is available.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/4/2016 Posts: 3
|
Thank you for the quick response and for committing to fix the issue with the next build.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This is just to let you know that we have posted a new build that should address this issue. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/4/2016 Posts: 3
|
Hi,
I downloaded the new build and tested it successfully with our application. Thank you again for addressing and fixing this issue so quickly.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Great. Thanks for confirming the fix!
|
|