Question

I have heard that it is possible to get a bitmap/image handle of the webpage being viewed on a firefox browser. I have been researching for a bit and couldn't not find anything.

So I am hoping if anyone knows how to do this, preferable via the command line (bash, any other shell on Linux).

To be honest, any browser that I could do this on is fine as long as its simple and on the shell!

Thanks all

Was it helpful?

Solution

Just one option: ImageMagick has an import command that will take a screenshot of any (X server) window from the command line. If you don't want the entire window you can specify a cropping area.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top