Welcome Guest Search | Active Topics | Sign In | Register

Render entire page to image? Options
Peavy
Posted: Wednesday, August 26, 2015 5:13:15 PM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
Is there an API that allows you to render the entire page to an image? I'm looking for something similar to what PhantomJS has in their "page.render" API. Is there something similar in EO?

Thanks.
eo_support
Posted: Thursday, August 27, 2015 12:39:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,072
Hi,

We have something similar but not exactly the same. You would use this method to capture the page image:

http://www.essentialobjects.com/doc/eo.webbrowser.webview.capture_overloads.aspx

The different is because we use Chromium's engine and Chromium's engine uses GPU to render output. As a result the capturing the code works by directly capture from the GPU frame buffer, which only represents the area that is currently visible in the window. So if you wish to capture the whole page, you must resize the window to fit the whole page without scrolling first --- which can be a problem because the GPU frame buffer may not be able to accommodate that size.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.