ok, i found another 'guide'

http://oltsm.blogspot.com/2007/07/ruby-website-screencapture-howto.html

which gave me enough to get something working on Ubuntu Edgy.

What i did was this :

apt-get install libgtk-mozembed-ruby1.8 xvfb

wget http://mirko.lilik.it/Ruby-GNOME2/moz-snapshooter.rb

startx -- `which Xvfb` :1 -screen 0 1024x768x24 &

DISPLAY=:1 ruby moz-snapshooter.rb

-----

I then got some warnings from glib2.rb but nothing fatal and then it worked.

I ignored the advice on the page about compiling your own ruby / gnome bindings 
(mainly because it failed on my machine and i thought, why make life hard for 
yourself?)

so, now im going to try and get it running from python because I can do python 
but not ruby and havent got the time to learn ruby

here's a couple of links for python implementations

http://www.hackdiary.com/archives/000055.html

http://www.burtonini.com/blog/computers/mozilla-thumbnail-20040614.xhtml

Darren Cook wrote:
>>> Not for want of demand! I think the way this should be done is to run
>>> the swf in a browser (or standalone player) and then take a screenshot (*).
>> ...
>> http://www.boutell.com/webthumb/
>>
>> http://www.semicomplete.com/blog/geekery/xvfb-firefox.html
> 
> Thanks Martin! I don't remember seeing either of those last time I
> looked into this. Next spare time I get, I'll give them a go.
> 
> Darren
> 
> 

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to