Käynnissä

thumbshot creator with webkit and qt4 in ruby

We need a Class which creates png-thumbnails of public URLs (i.e. [url removed, login to view]) 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:

[url removed, login to view]

Some ruby/webkit examples (unfortunately they depend on OSX):

[url removed, login to view]

[url removed, login to view]

The Thumbshooter-class should as follows:

generator = [url removed, login to view](

:screen => '800x600',

:resize => '200x150', # if given resize with RMagick, otherwise do not resize

)

# render a public website

png = [url removed, login to view]('[url removed, login to view]')

# render a local file

png = [url removed, login to view]('[url removed, login to view]')

It should be possible do set a timeout for rendering a webpage. If the whole page can not be loaded, an exception should be thrown. If just parts (i.e. images) of the page can not be loaded, then just the partially rendered page should be returned.

Another small example in ruby:

http://rubyforge.org/forum/forum.php?thread_id=43766&forum_id=723

Taidot: Ruby on Rails

Näytä lisää: ruby webkit png, ruby qtwebkit examples, ruby thumbshot, qt4 ruby webkit, thumbshot creator, thumbshot generator, webkit ruby, ruby qt4 webkit, ruby qt4 webkit example, ruby webkit render png, thumbshot ruby, ruby webkit screenshots, website thumbshot creator, ruby webkit, libqt4 ruby libqt4 webkit, qt4 web thumbnails, website page creator, web of ruby, ubuntu ruby on rails, ruby & ruby on rails python, ruby on rails org, return ruby on rails, python or ruby on rails, create a web page with google, ubuntu webkit ruby

About the Employer:
( 1 review ) Bremen, Germany

Projektin tunnus: #517171

1 freelanceria on tarjonnut keskimäärin 150 $ tähän työhön

Reywind

Please check my private message.

150 $ USD 7 päivässä
(2 arvostelua)
2.8