[Ruby] html to png screencap?

Ryan Davis ryand-ruby at zenspider.com
Fri Jul 20 18:03:04 PDT 2007


On Jul 20, 2007, at 17:57 , shane becker wrote:

>
>>> does anyone know a way to create a png from a some html in ruby?
>>>
>>> so for example, apple.com would give me a png of that page. like
>>> taking a screencap using the key combo 'command-shift-3' on a mac or
>>> 'print screen' on windows.
>>
>> Yeah. I have a script I wrote. only works on osx.
>
> is there a pure ruby way?

highly doubt it, other than one of the web services. most of those  
only do thumbs.




More information about the Ruby mailing list