<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XServer-less webpage screenshot</title>
	<atom:link href="http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/feed" rel="self" type="application/rss+xml" />
	<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot</link>
	<description></description>
	<lastBuildDate>Wed, 10 Mar 2010 09:58:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mariuz</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-854</link>
		<dc:creator>mariuz</dc:creator>
		<pubDate>Mon, 23 Nov 2009 16:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-854</guid>
		<description>sorry for last post , it was intended for c++ article :)</description>
		<content:encoded><![CDATA[<p>sorry for last post , it was intended for c++ article <img src='http://insecure.ws/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mariuz</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-853</link>
		<dc:creator>mariuz</dc:creator>
		<pubDate>Mon, 23 Nov 2009 16:24:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-853</guid>
		<description>I have modified the #include this way  (add the greater and less then signs)
#include Qt
#include QtGui
#include QWebView
#include QWebFrame

and in wkthumb.pro i have added 

QT       += network script webkit
CONFIG += qt

all worked ok 
the only issue i have now is with flash loading</description>
		<content:encoded><![CDATA[<p>I have modified the #include this way  (add the greater and less then signs)<br />
#include Qt<br />
#include QtGui<br />
#include QWebView<br />
#include QWebFrame</p>
<p>and in wkthumb.pro i have added </p>
<p>QT       += network script webkit<br />
CONFIG += qt</p>
<p>all worked ok<br />
the only issue i have now is with flash loading</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reading ajax content programmatically &#187; a Display of Patience</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-836</link>
		<dc:creator>Reading ajax content programmatically &#187; a Display of Patience</dc:creator>
		<pubDate>Wed, 28 Oct 2009 21:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-836</guid>
		<description>[...] didn&#8217;t actually do anything. It just failed silently when I used it. Then I came across this: http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot#comment-239. It seems version 4.4.2 of PyQt4 is sometimes build without support of WebKit. Guess which version [...]</description>
		<content:encoded><![CDATA[<p>[...] didn&#8217;t actually do anything. It just failed silently when I used it. Then I came across this: <a href="http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot#comment-239" rel="nofollow">http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot#comment-239</a>. It seems version 4.4.2 of PyQt4 is sometimes build without support of WebKit. Guess which version [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Podgląd strony do pliku jpg? : nme.pl</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-785</link>
		<dc:creator>Podgląd strony do pliku jpg? : nme.pl</dc:creator>
		<pubDate>Tue, 25 Aug 2009 07:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-785</guid>
		<description>[...] rozwiązanie w oparciu o Qt, warto [...]</description>
		<content:encoded><![CDATA[<p>[...] rozwiązanie w oparciu o Qt, warto [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XServer-less webpage screenshot - C++ &#124; insecure</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-480</link>
		<dc:creator>XServer-less webpage screenshot - C++ &#124; insecure</dc:creator>
		<pubDate>Thu, 02 Apr 2009 16:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-480</guid>
		<description>[...] While a better solution would still be to bypass QT and render &#8216;by hand&#8217; to and image file, or hack QT to do so (without requiring any X server connection, and using fewer dependency than large QT libraries&#8230;), I decided to run my script again, and I ran into troubles with python-qt4 on some debian systems (and older Fedora system, as a reader pointed out). [...]</description>
		<content:encoded><![CDATA[<p>[...] While a better solution would still be to bypass QT and render &#8216;by hand&#8217; to and image file, or hack QT to do so (without requiring any X server connection, and using fewer dependency than large QT libraries&#8230;), I decided to run my script again, and I ran into troubles with python-qt4 on some debian systems (and older Fedora system, as a reader pointed out). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cybso. &#187; Blog Archive &#187; Create screenshots of a web page using Python and QtWebKit</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-478</link>
		<dc:creator>Cybso. &#187; Blog Archive &#187; Create screenshots of a web page using Python and QtWebKit</dc:creator>
		<pubDate>Wed, 01 Apr 2009 12:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-478</guid>
		<description>[...] 2009-04-01 Here&#8217;s another guy who had the same idea earlier than me.    Posted by Roland Filed in 1 Tags: english, HowTo, Linux, [...]</description>
		<content:encoded><![CDATA[<p>[...] 2009-04-01 Here&#8217;s another guy who had the same idea earlier than me.    Posted by Roland Filed in 1 Tags: english, HowTo, Linux, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravishankar</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-336</link>
		<dc:creator>Ravishankar</dc:creator>
		<pubDate>Fri, 14 Nov 2008 10:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-336</guid>
		<description>Thanks for this very informative post.</description>
		<content:encoded><![CDATA[<p>Thanks for this very informative post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-239</link>
		<dc:creator>Stefano</dc:creator>
		<pubDate>Wed, 08 Oct 2008 20:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-239</guid>
		<description>Maybe it is of interests of people on Fedora that fc9 packages you can find for PyQt4 (e.g: PyQt4-4.4.2-2.fc9.i386.rpm) do not have WebKit support and silently fail to run the script.

Installing PyQt4-4.4.3-1.fc10.i386.rpm and sip-4.7.7-3.fc10.i386.rpm (even if they are fc10 they installed smoothly on my fc9) fixed my problem and let me build thumbnails!

Thank you for the great post!

Stefano</description>
		<content:encoded><![CDATA[<p>Maybe it is of interests of people on Fedora that fc9 packages you can find for PyQt4 (e.g: PyQt4-4.4.2-2.fc9.i386.rpm) do not have WebKit support and silently fail to run the script.</p>
<p>Installing PyQt4-4.4.3-1.fc10.i386.rpm and sip-4.7.7-3.fc10.i386.rpm (even if they are fc10 they installed smoothly on my fc9) fixed my problem and let me build thumbnails!</p>
<p>Thank you for the great post!</p>
<p>Stefano</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-238</link>
		<dc:creator>Stefano</dc:creator>
		<pubDate>Wed, 08 Oct 2008 19:24:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-238</guid>
		<description>I tested it on windows (Python 2.5.2, PyQT 4.4.3) and it worked out of the box.

I did a few change:
self.web.setGeometry(0, 0, 800, 600); just after QWebView instantiation to make the default webport 800x600 instead of 640x480.

And changed thumb generation using the SmoothTransformation and cutting the result back to the requested size:
thumb = QImage(img.scaled(int(self.dim[0]), int(self.dim[1]), Qt.KeepAspectRatioByExpanding, Qt.SmoothTransformation).copy(0,0,int(self.dim[0]), int(self.dim[1])))

It&#039;s way better now, but I have to understand why I can&#039;t get it to work on my linux+Xvfb environment. Don&#039;t even know where to start from :-(</description>
		<content:encoded><![CDATA[<p>I tested it on windows (Python 2.5.2, PyQT 4.4.3) and it worked out of the box.</p>
<p>I did a few change:<br />
self.web.setGeometry(0, 0, 800, 600); just after QWebView instantiation to make the default webport 800&#215;600 instead of 640&#215;480.</p>
<p>And changed thumb generation using the SmoothTransformation and cutting the result back to the requested size:<br />
thumb = QImage(img.scaled(int(self.dim[0]), int(self.dim[1]), Qt.KeepAspectRatioByExpanding, Qt.SmoothTransformation).copy(0,0,int(self.dim[0]), int(self.dim[1])))</p>
<p>It&#8217;s way better now, but I have to understand why I can&#8217;t get it to work on my linux+Xvfb environment. Don&#8217;t even know where to start from <img src='http://insecure.ws/wp/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano</title>
		<link>http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot/comment-page-1#comment-235</link>
		<dc:creator>Stefano</dc:creator>
		<pubDate>Tue, 07 Oct 2008 17:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=102#comment-235</guid>
		<description>The page load is completed (I have logs for all the requests in the webserver). I also tried changing the connect to a different even like load started / progress but no way to see a call.

I use PyQt4-4.4.2, qt-4.4.1, qt-x11-4.4.1,  sip-4.7.6, xorg-x11-server-Xvfb-1.4.99.901-29.20080415

Can I ask you what versions did you use?</description>
		<content:encoded><![CDATA[<p>The page load is completed (I have logs for all the requests in the webserver). I also tried changing the connect to a different even like load started / progress but no way to see a call.</p>
<p>I use PyQt4-4.4.2, qt-4.4.1, qt-x11-4.4.1,  sip-4.7.6, xorg-x11-server-Xvfb-1.4.99.901-29.20080415</p>
<p>Can I ask you what versions did you use?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
