On Dec 28, 2012, at 12:14 PM, Christian Schmitz <[email protected]> wrote: > > Am 28.12.2012 um 19:35 schrieb Michael Diehr <[email protected]>: > >> I'm using HTMLViewer.RenderWebsiteImageMBS and finding that it's taking >> 300msec to render the image, even though the window is only 400x300pixels in >> size, on a brand new retina book running 10.8.2 with Safari 6.0.2. > > The RenderImage function asks the view to draw itself in an image. No idea > why this takes long for you.
It's odd - the window is quite small, but it seems much slower than it was in 10.6, even though my mac is much faster. > This gives different result than a screenshot. Yes. > >> Or, is there any way to make Window.ScreenshotWindowRectMBS() capture >> everything in a HTMLViewer? > > Screenshot window functions copy things from the window's back buffer which > does not capture overlay windows. It doesn't seem to capture HTML content such as video or SWF/flash content, however. > Did you try ScreenshotRectMBS? Yes, this works, however it only captures windows that are onscreen and visible. What I'm looking for is a way to capture video playback from an *offscreen* window that has an HTMLViewer in it. RenderImage works, it's just about 10x to slow for this use. Apparently you can also screenshot using CGWindow, as shown here https://developer.apple.com/library/mac/#samplecode/SonOfGrab/ but I don't know if that would help or not. You may already be using that for ScreenshotrectMBS? > > Greetings > Christian > > -- > Read our blog about news on our plugins: > > http://www.mbsplugins.de/ > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
