how to get the web page image?

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.

how to get the web page image?

Postby qifuren1985 » Sat Jul 24, 2010 10:14 pm

I want to draw the web page in 3D Looks, so I need first to get the web page image, and when the page image changed, I need to get the change event. Now I have hooked the WM_PAINT message in D:\project\chrome\src\src\cef\libcef\webwidget_host.cc, but i think this is not a good way? Does any body know a good way?

In chrome start page, how does it get the web page image?
Attachments
page.png
web page image
page.png (234.88 KiB) Viewed 7099 times
qifuren1985
Newbie
 
Posts: 8
Joined: Sat Jul 24, 2010 10:29 am

Re: how to get the web page image?

Postby magreenblatt » Tue Jul 27, 2010 12:47 pm

Sounds like you need support for off-screen rendering.
http://code.google.com/p/chromiumembedd ... ail?id=100
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: how to get the web page image?

Postby bogimp » Fri Aug 27, 2010 9:49 am

So any solution?
Also can somebody say when it will be available, because i try build from source and it's very hard over 1000+ errors
major in
Error 20 error C2065: 'X509_ALGORITHM_IDENTIFIER' : undeclared identifier ...\base\crypto\signature_verifier_win.cc 76
Error 35 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ...\base\win_util.h 35
Error 182 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ...\base\win_util.h 35

:((
bogimp
Newbie
 
Posts: 3
Joined: Fri Aug 27, 2010 9:36 am

Re: how to get the web page image?

Postby magreenblatt » Fri Aug 27, 2010 10:59 am

Did you follow the instructions in the "Source Distribution" section of http://code.google.com/p/chromiumembedded/ ?
Also pay special attention to the build requirements listed at http://dev.chromium.org/developers/how- ... ns-windows
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 47 guests