We need a Class which creates png-thumbnails of public URLs (i.e. [login to view URL]) or local HTML files. The renderer should NOT create any temporary files and should return raw png-data.
It should depend on ruby 1.8, RMagick 2 (and its dependencies) and the following debian/ubuntu-packages:
libqt4-ruby libqt4-webkit
There is a similar script in python we are using at the moment:
[login to view URL]
Some ruby/webkit examples (unfortunately they depend on OSX):
[login to view URL]
[login to view URL]
The Thumbshooter-class should as follows:
generator = [login to view URL](
:screen => '800x600',
:resize => '200x150', # if given resize with RMagick, otherwise do not resize
)
# render a public website
png = [login to view URL]('[login to view URL]')
# render a local file
png = [login to view URL]('[login to view URL]')