Thursday, November 25, 2010

Take snapshot of an web page

After some searching i found CutyCapt to suit my needs.

After successful installation it gave me the error
QPainter::begin: Paint device returned engine == 0, type: 3

After some searching i found out that that error means that QImage::__construct is failing.
The constructor is failing because i am behind a proxy and CutyCapt did not find any content to create an image

./CutyCapt --url=http://www.google.org --out=example.png --http-proxy=http://144.16.192.245:8080

worked finally

1 comment:

  1. i got the same error when try to website
    ./CutyCapt --url=http://www.coremap-2.com --out=coremap2.jpg

    but its ok when i tried to http://www.yahoo.com

    i use modem to connect with internet

    ReplyDelete