Is there any way to get rid of the white area of the captured image?

We can do  this by calling the SetMinBrowserSize() function before calling SnapUrl(). The default MinBrowserSize is 800×600, so the minimum size of the output image is 800×600. The sample codes are listed as follows

SnapShooter snap;
snap.SetMinBrowserSize(300, 200);     //set minimum browser size to 300x200
snap.SnapUrl("xxx.com");

Leave a Reply

You must be logged in to post a comment.