So a need to do a complete print to an image of a website, server side, and doesn''t really matters the price (ok it matters, if its not to high :P). Runs a nix machine So i found a a couple of options: http://www.guangmingsoft.net/htmlsnapshot/html2image.htm It has a ruby samples and it works perfectly(4 lines of code), but i can''t find the API and the available methods. Http://pearlcrescent.com/products/pagesaver/doc/#commandline Also works, uses firefox to render, but i don''t know how it will handle lots of multiple requests(performance wise), any idea? http://khtml2png.sourceforge.net/index.php?page=about similar to pearl crescebt, but for konqueror with headless server http://www.hackdiary.com/2004/06/13/taking-automated-webpage-screenshots-with-embedded-mozilla/ and http://www.blogs.uni-osnabrueck.de/rotapken/2008/12/03/create-screenshots-of-a-web-page-using-python-and-qtwebkit/ i need to use python :( http://ruby-gnome2.sourceforge.jp/hiki.cgi?RubyGecko MozSnapshooter seems to work, didn''t have time to try it, any one used it? seleniumhq (http://seleniumhq.org/) uses ruby and has an interface that can grab a screenshot. does any one know of samples with selenium (any example should do)? Does any one know alternatives? Does any one used one of them? Performance wise, what should i use?
That''s an interesting problem. If you don''t mind me asking, why do you need to take screenshots of your websites? On Sun, Jul 26, 2009 at 9:05 AM, blueomega <celsoricardocosta-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > So a need to do a complete print to an image of a website, server > side, and doesn''t really matters the price (ok it matters, if its not > to high :P). Runs a nix machine > > So i found a a couple of options: > > http://www.guangmingsoft.net/htmlsnapshot/html2image.htm It has a ruby > samples and it works perfectly(4 lines of code), but i can''t find the > API and the available methods. > > Http://pearlcrescent.com/products/pagesaver/doc/#commandline Also > works, uses firefox to render, but i don''t know how it will handle > lots of multiple requests(performance wise), any idea? > > http://khtml2png.sourceforge.net/index.php?page=about similar to pearl > crescebt, but for konqueror > > with headless server > http://www.hackdiary.com/2004/06/13/taking-automated-webpage-screenshots-with-embedded-mozilla/ > and > http://www.blogs.uni-osnabrueck.de/rotapken/2008/12/03/create-screenshots-of-a-web-page-using-python-and-qtwebkit/ > i need to use python :( > > http://ruby-gnome2.sourceforge.jp/hiki.cgi?RubyGecko MozSnapshooter > seems to work, didn''t have time to try it, any one used it? > > seleniumhq (http://seleniumhq.org/) uses ruby and has an interface > that can grab a screenshot. does any one know of samples with selenium > (any example should do)? > > Does any one know alternatives? > Does any one used one of them? > Performance wise, what should i use? > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
During vacations i was invited to add features to a project (need money for erasmus :P), already in use in some schools(full district), for children between 6~10 years. The project is a page were student can do or submit assignments(painting, writing), share information, etc, with some social networking. It is also menth to support parents, teachers and school management. this at a basic level. as i said i was invited to work on it, and do some research and wrought features (interface doesn''t really matter, just the logic). like i said, they can do projects on it, and i need to get a thumbnail of it (might be text, might be a picture, might be anything else, there are planed more stuff). the page has areas were project can be exposed\promoted(for the class, school, district), that''s were the image generator really matters, i need thumbnails of the image generated So i need to create a preview of every new project or change in project, right after i save it. i dont need the complete page (i will crop the page borders), but i need the complete project (or the head of it) On 26 Jul, 17:09, James Englert <englert.ja...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> That''s an interesting problem. If you don''t mind me asking, why do you need > to take screenshots of your websites? > > On Sun, Jul 26, 2009 at 9:05 AM, blueomega <celsoricardoco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > > > > > So a need to do a complete print to an image of a website, server > > side, and doesn''t really matters the price (ok it matters, if its not > > to high :P). Runs a nix machine > > > So i found a a couple of options: > > >http://www.guangmingsoft.net/htmlsnapshot/html2image.htmIt has a ruby > > samples and it works perfectly(4 lines of code), but i can''t find the > > API and the available methods. > > > Http://pearlcrescent.com/products/pagesaver/doc/#commandline Also > > works, uses firefox to render, but i don''t know how it will handle > > lots of multiple requests(performance wise), any idea? > > >http://khtml2png.sourceforge.net/index.php?page=aboutsimilar to pearl > > crescebt, but for konqueror > > > with headless server > >http://www.hackdiary.com/2004/06/13/taking-automated-webpage-screensh... > > and > >http://www.blogs.uni-osnabrueck.de/rotapken/2008/12/03/create-screens... > > i need to use python :( > > >http://ruby-gnome2.sourceforge.jp/hiki.cgi?RubyGeckoMozSnapshooter > > seems to work, didn''t have time to try it, any one used it? > > > seleniumhq (http://seleniumhq.org/) uses ruby and has an interface > > that can grab a screenshot. does any one know of samples with selenium > > (any example should do)? > > > Does any one know alternatives? > > Does any one used one of them? > > Performance wise, what should i use?