[Ruby] html to png screencap?

shane becker veganstraightedge at gmail.com
Fri Jul 20 18:05:05 PDT 2007


>>>> 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.

can i get your script for os x then?




More information about the Ruby mailing list