Hi everybody
There is already a tool that can save a webpage to a picture: CutyCapt.
http://cutycapt.sourceforge.net/
CutyCapt is nice because it is using QtWebKit to render pages and can do javascript, css and all.
I modified it a little, so it can output rgb565, so the files that can be show by pickel.
you can also call use as filename foo.rgb565stream and it won't create a file, but get the stream out, so "CutyCapt --blablabla | pickel showpic" should be possible without saving to a file.
Limitations:
- Big pages get squeezed to 800x600. (or what you enter with --rgbWidth=800 --rgbHeight=600 )
-no timeout when it fails (page not reachable)
- compiled for qt 4.8, (qt 4.6 can't do https with TLSv1 only SSLv3)
Check the Attachet zip for more details and examples.
Thanks for everybodies help.
Thanks to z000ao8q (http://www.scherello.de/?id=265) for the wifi scripts.
Code and binary are as they are. I'm sure a will work on this more in the future, but not right now because i'm busy...
Enjoy and Greetings
Grunge
There is already a tool that can save a webpage to a picture: CutyCapt.
http://cutycapt.sourceforge.net/
CutyCapt is nice because it is using QtWebKit to render pages and can do javascript, css and all.
I modified it a little, so it can output rgb565, so the files that can be show by pickel.
you can also call use as filename foo.rgb565stream and it won't create a file, but get the stream out, so "CutyCapt --blablabla | pickel showpic" should be possible without saving to a file.
Limitations:
- Big pages get squeezed to 800x600. (or what you enter with --rgbWidth=800 --rgbHeight=600 )
-no timeout when it fails (page not reachable)
- compiled for qt 4.8, (qt 4.6 can't do https with TLSv1 only SSLv3)
Check the Attachet zip for more details and examples.
Thanks for everybodies help.
Thanks to z000ao8q (http://www.scherello.de/?id=265) for the wifi scripts.
Code and binary are as they are. I'm sure a will work on this more in the future, but not right now because i'm busy...
Enjoy and Greetings
Grunge