News for hackers. Stuff that matters.
Re:Blitz: A lightweight, modular, extensible web renderer by nicoburns on Monday August 12, 2024 @02:39AM (#41221700)
It can't, but it'd probably only be a few hours work to add. We'd just need to plug the rendering library we're using into an image encoder rather than a windowing library. There might also be some extra work required to do tiling if you wanted a screenshot that is the full height of the HTML page (bigger than will fit in a single GPU texture), but I can't imagine that would be too hard.
Re:Blitz: A lightweight, modular, extensible web renderer by 9dev on Monday August 12, 2024 @02:45AM (#41221749)
That’d be an amazing extension with lots of potential to mix up the existing Screenshot aaS business. I’m no Rust dev, so I can’t help here, but I’ll follow the project closely!
Re:Blitz: A lightweight, modular, extensible web renderer by nkozyra on Monday August 12, 2024 @06:57AM (#41223099)
Given general css support is not complete, would you really want a screenshot of something that might look radically different on a commonly used browser?
Re:Blitz: A lightweight, modular, extensible web renderer by nicoburns on Monday August 12, 2024 @08:31AM (#41223653)
I guess perhaps such functionality will be more useful when the CSS support is more complete?
Re:Blitz: A lightweight, modular, extensible web renderer by nicoburns on Wednesday August 14, 2024 @12:52AM (#41242663)
I added an example of rendering to image today. It's a bit rough atm (not very configurable), but it seems reasonably fast.