take more screenshots of different html page

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

take more screenshots of different html page

Postby zingoz » Fri Sep 06, 2019 2:49 am

I wanted to know if it was possible, starting from the offscreen project, to take more screenshots of different html pages. The purpose of my application is to transform a html page into a bitmap image. Is it something you can do with cefsharp?
zingoz
Newbie
 
Posts: 1
Joined: Fri Sep 06, 2019 2:47 am

Re: take more screenshots of different html page

Postby Czarek » Fri Sep 06, 2019 9:03 am

This is C++ support forum. With off-screen rendering you have access to a bitmap. To screenshot whole page with scrolled area you may need to inject js code to do the scrolling, capture several images and then merge them.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 34 guests

cron