Page 2 of 2

Re: Using CEF for HTML page thumbnail generation

PostPosted: Fri Feb 19, 2016 9:50 pm
by magreenblatt
There's no "done loading" state for arbitrary dynamic content. If you control the content then you could execute a JS callback when you know that it's done loading.

Re: Using CEF for HTML page thumbnail generation

PostPosted: Wed Feb 24, 2016 5:31 pm
by Mayhew
Okay, I just wanted to be sure there wasn't any callback API I was missing.

My solution was to wait for OnPaint calls to settle down. After a set number of calls or a specific amount of time expires, I just invalidate and wait for the next OnPaint and process the buffer. This seems to work pretty well.

Re: Using CEF for HTML page thumbnail generation

PostPosted: Tue Jun 18, 2019 3:29 am
by costander
Hi, I am in need of the thumbnail generation. Did you find any callback we can listen to for this purpose? As per my understanding, the onpaint callback gets called multiple times and we wont be knowing when to generate the thumbnail. Did you get any solution for this problem?