<?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: Image to html via php</title>
	<atom:link href="http://skycube.net/2009/02/14/28/feed/" rel="self" type="application/rss+xml" />
	<link>http://skycube.net/2009/02/14/28/</link>
	<description>Projects, References and Personals by Per Lasse Baasch</description>
	<lastBuildDate>Sat, 05 May 2012 02:37:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Cameron</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-5301</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Sat, 05 May 2012 02:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-5301</guid>
		<description>I want to make a withdrawal http://eymunifobay.de.tl preteen underage child  uh...her pussy look gross ikw its pussy pumping but i never liked it....but i can say the deepthroating got me horny so good job i guess...</description>
		<content:encoded><![CDATA[<p>I want to make a withdrawal <a href="http://eymunifobay.de.tl" rel="nofollow">http://eymunifobay.de.tl</a> preteen underage child  uh&#8230;her pussy look gross ikw its pussy pumping but i never liked it&#8230;.but i can say the deepthroating got me horny so good job i guess&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sydney</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-5300</link>
		<dc:creator>Sydney</dc:creator>
		<pubDate>Sat, 05 May 2012 02:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-5300</guid>
		<description>Could I borrow your phone, please? http://temyjisayr.de.tl preteen asian girls  Fucking LOVE the body on this blonde - and a super pussy and asshole to eat out.  Wouldn&#039;t mind fucking the guy either for that matter -</description>
		<content:encoded><![CDATA[<p>Could I borrow your phone, please? <a href="http://temyjisayr.de.tl" rel="nofollow">http://temyjisayr.de.tl</a> preteen asian girls  Fucking LOVE the body on this blonde &#8211; and a super pussy and asshole to eat out.  Wouldn&#8217;t mind fucking the guy either for that matter -</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wvcpoqbo</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-5299</link>
		<dc:creator>Wvcpoqbo</dc:creator>
		<pubDate>Sat, 05 May 2012 00:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-5299</guid>
		<description>There&#039;s a three month trial period http://ipiaiqutim.de.tl forum teen model  you wouldnt notice someone getting head right up stairs...i love porn acting great stuff they should go on broadway...love how i just criticed porn</description>
		<content:encoded><![CDATA[<p>There&#8217;s a three month trial period <a href="http://ipiaiqutim.de.tl" rel="nofollow">http://ipiaiqutim.de.tl</a> forum teen model  you wouldnt notice someone getting head right up stairs&#8230;i love porn acting great stuff they should go on broadway&#8230;love how i just criticed porn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wffkzppr</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-5298</link>
		<dc:creator>Wffkzppr</dc:creator>
		<pubDate>Wed, 02 May 2012 06:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-5298</guid>
		<description>How many are there in a book? http://ykyufuyak.blog.free.fr/ nude bbs kd pics  I don&#039;t care how many times its been posted, its awesome, and um why would you watch it a second time if you think it shouldn&#039;t be reposted? lmmfao bunch of no count morons</description>
		<content:encoded><![CDATA[<p>How many are there in a book? <a href="http://ykyufuyak.blog.free.fr/" rel="nofollow">http://ykyufuyak.blog.free.fr/</a> nude bbs kd pics  I don&#8217;t care how many times its been posted, its awesome, and um why would you watch it a second time if you think it shouldn&#8217;t be reposted? lmmfao bunch of no count morons</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per Lasse Baasch</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-512</link>
		<dc:creator>Per Lasse Baasch</dc:creator>
		<pubDate>Tue, 10 Aug 2010 09:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-512</guid>
		<description>&lt;a href=&quot;#comment-511&quot; rel=&quot;nofollow&quot;&gt;@Mike&lt;/a&gt; 
Yes it&#039;s possible, but probably it will slow down. Cause the output of image functions is rgb and you&#039;ve to use a convert function like this:
http://www.anyexample.com/programming/php/php_convert_rgb_from_to_html_hex_color.xml
&lt;pre lang=&#039;php&#039;&gt;
&lt;?php
function rgb2html($r, $g=-1, $b=-1)
{
    if (is_array($r) &amp;&amp; sizeof($r) == 3)
        list($r, $g, $b) = $r;

    $r = intval($r); $g = intval($g);
    $b = intval($b);

    $r = dechex($r&lt;0?0:($r&gt;255?255:$r));
    $g = dechex($g&lt;0?0:($g&gt;255?255:$g));
    $b = dechex($b&lt;0?0:($b&gt;255?255:$b));

    $color = (strlen($r) &lt; 2?&#039;0&#039;:&#039;&#039;).$r;
    $color .= (strlen($g) &lt; 2?&#039;0&#039;:&#039;&#039;).$g;
    $color .= (strlen($b) &lt; 2?&#039;0&#039;:&#039;&#039;).$b;
    return &#039;#&#039;.$color;
}
?&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-511" rel="nofollow">@Mike</a><br />
Yes it&#8217;s possible, but probably it will slow down. Cause the output of image functions is rgb and you&#8217;ve to use a convert function like this:<br />
<a href="http://www.anyexample.com/programming/php/php_convert_rgb_from_to_html_hex_color.xml" rel="nofollow">http://www.anyexample.com/programming/php/php_convert_rgb_from_to_html_hex_color.xml</a></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> rgb2html<span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #339933;">,</span> <span style="color: #000088;">$g</span><span style="color: #339933;">=-</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #000088;">$b</span><span style="color: #339933;">=-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">sizeof</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span>
        <span style="color: #990000;">list</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #339933;">,</span> <span style="color: #000088;">$g</span><span style="color: #339933;">,</span> <span style="color: #000088;">$b</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$r</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$r</span> <span style="color: #339933;">=</span> <span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$g</span> <span style="color: #339933;">=</span> <span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$g</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$b</span> <span style="color: #339933;">=</span> <span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$b</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$r</span> <span style="color: #339933;">=</span> <span style="color: #990000;">dechex</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">0</span>?<span style="color: #cc66cc;">0</span><span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">255</span>?<span style="color: #cc66cc;">255</span><span style="color: #339933;">:</span><span style="color: #000088;">$r</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$g</span> <span style="color: #339933;">=</span> <span style="color: #990000;">dechex</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$g</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">0</span>?<span style="color: #cc66cc;">0</span><span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$g</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">255</span>?<span style="color: #cc66cc;">255</span><span style="color: #339933;">:</span><span style="color: #000088;">$g</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$b</span> <span style="color: #339933;">=</span> <span style="color: #990000;">dechex</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$b</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">0</span>?<span style="color: #cc66cc;">0</span><span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$b</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">255</span>?<span style="color: #cc66cc;">255</span><span style="color: #339933;">:</span><span style="color: #000088;">$b</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$color</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$r</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">2</span>?<span style="color: #0000ff;">'0'</span><span style="color: #339933;">:</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$r</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$color</span> <span style="color: #339933;">.=</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$g</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">2</span>?<span style="color: #0000ff;">'0'</span><span style="color: #339933;">:</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$g</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$color</span> <span style="color: #339933;">.=</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$b</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">2</span>?<span style="color: #0000ff;">'0'</span><span style="color: #339933;">:</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$b</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'#'</span><span style="color: #339933;">.</span><span style="color: #000088;">$color</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-511</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 06 Aug 2010 14:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-511</guid>
		<description>Hi, very usefull script, it´s possible change the RBG color to #HEX?</description>
		<content:encoded><![CDATA[<p>Hi, very usefull script, it´s possible change the RBG color to #HEX?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plb</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-349</link>
		<dc:creator>plb</dc:creator>
		<pubDate>Fri, 11 Sep 2009 11:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-349</guid>
		<description>Using a screenshot program ;) Or print to a pdf file... may that works</description>
		<content:encoded><![CDATA[<p>Using a screenshot program <img src='http://skycube.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Or print to a pdf file&#8230; may that works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ayaz</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-348</link>
		<dc:creator>ayaz</dc:creator>
		<pubDate>Tue, 08 Sep 2009 16:01:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-348</guid>
		<description>Hello
How can we create image from html i.e. I have a DIV tag and i want to take snapshot of contents in that div...how can we acheive it?</description>
		<content:encoded><![CDATA[<p>Hello<br />
How can we create image from html i.e. I have a DIV tag and i want to take snapshot of contents in that div&#8230;how can we acheive it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plb</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-205</link>
		<dc:creator>plb</dc:creator>
		<pubDate>Sun, 12 Apr 2009 16:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-205</guid>
		<description>I looking forward to find one as well,... Beside, I try to optimize the script for faster loading.</description>
		<content:encoded><![CDATA[<p>I looking forward to find one as well,&#8230; Beside, I try to optimize the script for faster loading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre</title>
		<link>http://skycube.net/2009/02/14/28/comment-page-1/#comment-204</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Tue, 07 Apr 2009 15:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.skycube.net/?p=28#comment-204</guid>
		<description>Crazy idea - never thought about it because I wasn´t aware of that it´s possible.... now I´m thinking about a usecase :)</description>
		<content:encoded><![CDATA[<p>Crazy idea &#8211; never thought about it because I wasn´t aware of that it´s possible&#8230;. now I´m thinking about a usecase <img src='http://skycube.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

