View Single Post
Old 05-31-2013, 05:17 AM   #1
Grunge
Member
Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.
 
Posts: 12
Karma: 9172
Join Date: Apr 2013
Device: Kobo Touch
CutyCapt for Kobo (Render Webpage to Kobo raw Grafic)

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
Attached Files
File Type: zip CutyCapt_Kobo.zip (4.30 MB, 458 views)
Grunge is offline   Reply With Quote