Is there a way to capture an image of a webpage using CGI C ++? I searched high and low, and although I found many implementations in everything from Perl to C #, I could not find any implementations in C ++.
The idea is that a user who visits the site can provide a URL. Then the script will take a snapshot of the website URL, and then show it loading into the C ++ CGI site that I am creating.
Any help on this would be greatly appreciated!
Thank!
Perl Example: Webthumb
-, . ++, . Qt ( ++). Qt , , -.
QWebView *view = new QWebView(ui->centralWidget); view->load(QUrl("http://qt.nokia.com/")); view->show();
view loadFinished. . , , . :
QPixmap::grabWindow(mainwindow->winId())
, stdout cgi .