<?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"
	>
<channel>
	<title>Comments for Mike's Technology Blog</title>
	<atom:link href="http://tech.mikelopez.info/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.mikelopez.info</link>
	<description>Mike Lopez Blogs</description>
	<pubDate>Sat, 11 Oct 2008 05:28:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on LCD brightness keys not working in Kubuntu Gutsy by Dan</title>
		<link>http://tech.mikelopez.info/2007/10/27/lcd-brightness-keys-not-working-in-kubuntu-gutsy/#comment-113122</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 29 Sep 2008 23:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://tech.mikelopez.info/2007/10/27/lcd-brightness-keys-not-working-in-kubuntu-gutsy/#comment-113122</guid>
		<description>Works on Gateway MT6821 running Ubuntu 8.04 LTS</description>
		<content:encoded><![CDATA[<p>Works on Gateway MT6821 running Ubuntu 8.04 LTS</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Min Frexy Bright Icons in Bitmap by RTG</title>
		<link>http://tech.mikelopez.info/2008/05/21/min-frexy-bright-icons-in-bitmap/#comment-113121</link>
		<dc:creator>RTG</dc:creator>
		<pubDate>Mon, 29 Sep 2008 18:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://tech.mikelopez.info/2008/05/21/min-frexy-bright-icons-in-bitmap/#comment-113121</guid>
		<description>Hey , you can simply use GIMP to import the stuff as bitmaps.</description>
		<content:encoded><![CDATA[<p>Hey , you can simply use GIMP to import the stuff as bitmaps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My Motorola MOTOROKR E6 by maia gajo</title>
		<link>http://tech.mikelopez.info/2007/07/13/my-motorola-motorokr-e6/#comment-113120</link>
		<dc:creator>maia gajo</dc:creator>
		<pubDate>Mon, 29 Sep 2008 11:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://tech.mikelopez.info/2007/07/13/my-motorola-motorokr-e6/#comment-113120</guid>
		<description>ey.. i was on the net searching for infos on this phone. my kuya will have this as his 'pasalubong' for me.. =) after reading ur blog, my excitement tripled! cant wait.. =) it doesnt have a keypad though.</description>
		<content:encoded><![CDATA[<p>ey.. i was on the net searching for infos on this phone. my kuya will have this as his &#8216;pasalubong&#8217; for me.. =) after reading ur blog, my excitement tripled! cant wait.. =) it doesnt have a keypad though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing WiTricity as in Wireless Electricity by Mike Lopez</title>
		<link>http://tech.mikelopez.info/2007/06/08/introducing-witricity-as-in-wireless-electricity/#comment-113119</link>
		<dc:creator>Mike Lopez</dc:creator>
		<pubDate>Sun, 28 Sep 2008 11:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://tech.mikelopez.info/2007/06/08/introducing-witricity-as-in-wireless-electricity/#comment-113119</guid>
		<description>Hi Lorelei,

Yep, I think that would be a problem but then they can always regulate the frequencies wouldn't they?

Mike</description>
		<content:encoded><![CDATA[<p>Hi Lorelei,</p>
<p>Yep, I think that would be a problem but then they can always regulate the frequencies wouldn&#8217;t they?</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing WiTricity as in Wireless Electricity by Lorelei Ashley</title>
		<link>http://tech.mikelopez.info/2007/06/08/introducing-witricity-as-in-wireless-electricity/#comment-113118</link>
		<dc:creator>Lorelei Ashley</dc:creator>
		<pubDate>Sun, 28 Sep 2008 08:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://tech.mikelopez.info/2007/06/08/introducing-witricity-as-in-wireless-electricity/#comment-113118</guid>
		<description>Won't it be an interference in wireless signals like wifi, bluetooth, wireless phones, mobile phones and the likes... therefore, you can't use any of those devices (or the signals will be distorted) if the magnetic field is too strong... - Communications Engineering Student</description>
		<content:encoded><![CDATA[<p>Won&#8217;t it be an interference in wireless signals like wifi, bluetooth, wireless phones, mobile phones and the likes&#8230; therefore, you can&#8217;t use any of those devices (or the signals will be distorted) if the magnetic field is too strong&#8230; - Communications Engineering Student</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Image Resize Script by sajjad</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113117</link>
		<dc:creator>sajjad</dc:creator>
		<pubDate>Mon, 15 Sep 2008 14:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113117</guid>
		<description>Thanks for such a good code...</description>
		<content:encoded><![CDATA[<p>Thanks for such a good code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Image Resize Script by Sean</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113116</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 11 Sep 2008 10:07:50 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113116</guid>
		<description>Hi Nice script

Here is an addon by Torstein Hønsi for creating sharper thumbnails. Simply paste this function at the bottom of the existing script and call it just before the last line of the existing script like so..
You can change the parameters as you like.

Sean

///////////////////////////////////////////////////////////////////////////
$thumb=UnsharpMask($thumb, 100, 0.8, 2);
	@ImageJPEG ($thumb);
//////////////////////////////////////////////////////////////////////////






function UnsharpMask($img, $amount, $radius, $threshold)    {  

////////////////////////////////////////////////////////////////////////////////////////////////   
////   
////                  Unsharp Mask for PHP - version 2.1.1   
////   
////    Unsharp mask algorithm by Torstein Hønsi 2003-07.   
////             thoensi_at_netcom_dot_no.   
////               Please leave this notice.   
////   
///////////////////////////////////////////////////////////////////////////////////////////////   



    // $img is an image that is already created within php using  
    // imgcreatetruecolor. No url! $img must be a truecolor image.  

    // Attempt to calibrate the parameters to Photoshop:  
    if ($amount &#62; 500)    $amount = 500;  
    $amount = $amount * 0.016;  
    if ($radius &#62; 50)    $radius = 50;  
    $radius = $radius * 2;  
    if ($threshold &#62; 255)    $threshold = 255;  
      
    $radius = abs(round($radius));     // Only integers make sense.  
    if ($radius == 0) {  
        return $img; imagedestroy($img); break;        }  
    $w = imagesx($img); $h = imagesy($img);  
    $imgCanvas = imagecreatetruecolor($w, $h);  
    $imgBlur = imagecreatetruecolor($w, $h);  
      

    // Gaussian blur matrix:  
    //                          
    //    1    2    1          
    //    2    4    2          
    //    1    2    1          
    //                          
    //////////////////////////////////////////////////  
          

    if (function_exists('imageconvolution')) { // PHP &#62;= 5.1   
            $matrix = array(   
            array( 1, 2, 1 ),   
            array( 2, 4, 2 ),   
            array( 1, 2, 1 )   
        );   
        imagecopy ($imgBlur, $img, 0, 0, 0, 0, $w, $h);  
        imageconvolution($imgBlur, $matrix, 16, 0);   
    }   
    else {   

    // Move copies of the image around one pixel at the time and merge them with weight  
    // according to the matrix. The same matrix is simply repeated for higher radii.  
        for ($i = 0; $i 0){  
        // Calculate the difference between the blurred pixels and the original  
        // and set the pixels  
        for ($x = 0; $x &#60; $w-1; $x++)    { // each row 
            for ($y = 0; $y &#62; 16) &#38; 0xFF);  
                $gOrig = (($rgbOrig &#62;&#62; 8) &#38; 0xFF);  
                $bOrig = ($rgbOrig &#38; 0xFF);  
                  
                $rgbBlur = ImageColorAt($imgBlur, $x, $y);  
                  
                $rBlur = (($rgbBlur &#62;&#62; 16) &#38; 0xFF);  
                $gBlur = (($rgbBlur &#62;&#62; 8) &#38; 0xFF);  
                $bBlur = ($rgbBlur &#38; 0xFF);  
                  
                // When the masked pixels differ less from the original  
                // than the threshold specifies, they are set to their original value.  
                $rNew = (abs($rOrig - $rBlur) &#62;= $threshold)   
                    ? max(0, min(255, ($amount * ($rOrig - $rBlur)) + $rOrig))   
                    : $rOrig;  
                $gNew = (abs($gOrig - $gBlur) &#62;= $threshold)   
                    ? max(0, min(255, ($amount * ($gOrig - $gBlur)) + $gOrig))   
                    : $gOrig;  
                $bNew = (abs($bOrig - $bBlur) &#62;= $threshold)   
                    ? max(0, min(255, ($amount * ($bOrig - $bBlur)) + $bOrig))   
                    : $bOrig;  
                  
                  
                              
                if (($rOrig != $rNew) &#124;&#124; ($gOrig != $gNew) &#124;&#124; ($bOrig != $bNew)) {  
                        $pixCol = ImageColorAllocate($img, $rNew, $gNew, $bNew);  
                        ImageSetPixel($img, $x, $y, $pixCol);  
                    }  
            }  
        }  
    }  
    else{  
        for ($x = 0; $x &#60; $w; $x++)    { // each row  
            for ($y = 0; $y &#62; 16) &#38; 0xFF);  
                $gOrig = (($rgbOrig &#62;&#62; 8) &#38; 0xFF);  
                $bOrig = ($rgbOrig &#38; 0xFF);  
                  
                $rgbBlur = ImageColorAt($imgBlur, $x, $y);  
                  
                $rBlur = (($rgbBlur &#62;&#62; 16) &#38; 0xFF);  
                $gBlur = (($rgbBlur &#62;&#62; 8) &#38; 0xFF);  
                $bBlur = ($rgbBlur &#38; 0xFF);  
                  
                $rNew = ($amount * ($rOrig - $rBlur)) + $rOrig;  
                    if($rNew&#62;255){$rNew=255;}  
                    elseif($rNew255){$gNew=255;}  
                    elseif($gNew255){$bNew=255;}  
                    elseif($bNew&#60;0){$bNew=0;}  
                $rgbNew = ($rNew &#60;&#60; 16) + ($gNew &#60;&#60;8) + $bNew;  
                    ImageSetPixel($img, $x, $y, $rgbNew);  
            }  
        }  
    }  
    imagedestroy($imgCanvas);  
    imagedestroy($imgBlur);  
      
    return $img;  

}</description>
		<content:encoded><![CDATA[<p>Hi Nice script</p>
<p>Here is an addon by Torstein Hønsi for creating sharper thumbnails. Simply paste this function at the bottom of the existing script and call it just before the last line of the existing script like so..<br />
You can change the parameters as you like.</p>
<p>Sean</p>
<p>///////////////////////////////////////////////////////////////////////////<br />
$thumb=UnsharpMask($thumb, 100, 0.8, 2);<br />
	@ImageJPEG ($thumb);<br />
//////////////////////////////////////////////////////////////////////////</p>
<p>function UnsharpMask($img, $amount, $radius, $threshold)    {  </p>
<p>////////////////////////////////////////////////////////////////////////////////////////////////<br />
////<br />
////                  Unsharp Mask for PHP - version 2.1.1<br />
////<br />
////    Unsharp mask algorithm by Torstein Hønsi 2003-07.<br />
////             thoensi_at_netcom_dot_no.<br />
////               Please leave this notice.<br />
////<br />
///////////////////////////////////////////////////////////////////////////////////////////////   </p>
<p>    // $img is an image that is already created within php using<br />
    // imgcreatetruecolor. No url! $img must be a truecolor image.  </p>
<p>    // Attempt to calibrate the parameters to Photoshop:<br />
    if ($amount &gt; 500)    $amount = 500;<br />
    $amount = $amount * 0.016;<br />
    if ($radius &gt; 50)    $radius = 50;<br />
    $radius = $radius * 2;<br />
    if ($threshold &gt; 255)    $threshold = 255;  </p>
<p>    $radius = abs(round($radius));     // Only integers make sense.<br />
    if ($radius == 0) {<br />
        return $img; imagedestroy($img); break;        }<br />
    $w = imagesx($img); $h = imagesy($img);<br />
    $imgCanvas = imagecreatetruecolor($w, $h);<br />
    $imgBlur = imagecreatetruecolor($w, $h);  </p>
<p>    // Gaussian blur matrix:<br />
    //<br />
    //    1    2    1<br />
    //    2    4    2<br />
    //    1    2    1<br />
    //<br />
    //////////////////////////////////////////////////  </p>
<p>    if (function_exists(&#8217;imageconvolution&#8217;)) { // PHP &gt;= 5.1<br />
            $matrix = array(<br />
            array( 1, 2, 1 ),<br />
            array( 2, 4, 2 ),<br />
            array( 1, 2, 1 )<br />
        );<br />
        imagecopy ($imgBlur, $img, 0, 0, 0, 0, $w, $h);<br />
        imageconvolution($imgBlur, $matrix, 16, 0);<br />
    }<br />
    else {   </p>
<p>    // Move copies of the image around one pixel at the time and merge them with weight<br />
    // according to the matrix. The same matrix is simply repeated for higher radii.<br />
        for ($i = 0; $i 0){<br />
        // Calculate the difference between the blurred pixels and the original<br />
        // and set the pixels<br />
        for ($x = 0; $x &lt; $w-1; $x++)    { // each row<br />
            for ($y = 0; $y &gt; 16) &amp; 0xFF);<br />
                $gOrig = (($rgbOrig &gt;&gt; <img src='http://tech.mikelopez.info/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> &amp; 0xFF);<br />
                $bOrig = ($rgbOrig &amp; 0xFF);  </p>
<p>                $rgbBlur = ImageColorAt($imgBlur, $x, $y);  </p>
<p>                $rBlur = (($rgbBlur &gt;&gt; 16) &amp; 0xFF);<br />
                $gBlur = (($rgbBlur &gt;&gt; <img src='http://tech.mikelopez.info/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> &amp; 0xFF);<br />
                $bBlur = ($rgbBlur &amp; 0xFF);  </p>
<p>                // When the masked pixels differ less from the original<br />
                // than the threshold specifies, they are set to their original value.<br />
                $rNew = (abs($rOrig - $rBlur) &gt;= $threshold)<br />
                    ? max(0, min(255, ($amount * ($rOrig - $rBlur)) + $rOrig))<br />
                    : $rOrig;<br />
                $gNew = (abs($gOrig - $gBlur) &gt;= $threshold)<br />
                    ? max(0, min(255, ($amount * ($gOrig - $gBlur)) + $gOrig))<br />
                    : $gOrig;<br />
                $bNew = (abs($bOrig - $bBlur) &gt;= $threshold)<br />
                    ? max(0, min(255, ($amount * ($bOrig - $bBlur)) + $bOrig))<br />
                    : $bOrig;  </p>
<p>                if (($rOrig != $rNew) || ($gOrig != $gNew) || ($bOrig != $bNew)) {<br />
                        $pixCol = ImageColorAllocate($img, $rNew, $gNew, $bNew);<br />
                        ImageSetPixel($img, $x, $y, $pixCol);<br />
                    }<br />
            }<br />
        }<br />
    }<br />
    else{<br />
        for ($x = 0; $x &lt; $w; $x++)    { // each row<br />
            for ($y = 0; $y &gt; 16) &amp; 0xFF);<br />
                $gOrig = (($rgbOrig &gt;&gt; <img src='http://tech.mikelopez.info/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> &amp; 0xFF);<br />
                $bOrig = ($rgbOrig &amp; 0xFF);  </p>
<p>                $rgbBlur = ImageColorAt($imgBlur, $x, $y);  </p>
<p>                $rBlur = (($rgbBlur &gt;&gt; 16) &amp; 0xFF);<br />
                $gBlur = (($rgbBlur &gt;&gt; <img src='http://tech.mikelopez.info/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> &amp; 0xFF);<br />
                $bBlur = ($rgbBlur &amp; 0xFF);  </p>
<p>                $rNew = ($amount * ($rOrig - $rBlur)) + $rOrig;<br />
                    if($rNew&gt;255){$rNew=255;}<br />
                    elseif($rNew255){$gNew=255;}<br />
                    elseif($gNew255){$bNew=255;}<br />
                    elseif($bNew&lt;0){$bNew=0;}<br />
                $rgbNew = ($rNew &lt;&lt; 16) + ($gNew &lt;&lt;8) + $bNew;<br />
                    ImageSetPixel($img, $x, $y, $rgbNew);<br />
            }<br />
        }<br />
    }<br />
    imagedestroy($imgCanvas);<br />
    imagedestroy($imgBlur);  </p>
<p>    return $img;  </p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Image Resize Script by deepak</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113115</link>
		<dc:creator>deepak</dc:creator>
		<pubDate>Mon, 08 Sep 2008 11:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113115</guid>
		<description>#

first of all - great script! really liked it..and i keep using it on all of my sites!
i have a question, i have a watermark script which i refer to as wimage.php?IMAGE.JPG and it adds a PNG based watermark protection.
now, when i refer imgresize.php?w=100&#38;h=100&#38;img=http://www.FULL-URL.com/wimage.php?SomePhoto.jpg it works great, i mean, its a full combination of 2 scripts, first it puts watermark and then it resizes it. the problem is that it takes too long because of the re-calling for the images. i am trying to access now imgresize.php?w=100&#38;h=100&#38;img=images/photos/SOMEPHOTO.jpg it gives me an error. how can i combine these two scripts? or how can i simply add a watermark protection (PNG based) to this awsome script???</description>
		<content:encoded><![CDATA[<p>#</p>
<p>first of all - great script! really liked it..and i keep using it on all of my sites!<br />
i have a question, i have a watermark script which i refer to as wimage.php?IMAGE.JPG and it adds a PNG based watermark protection.<br />
now, when i refer imgresize.php?w=100&amp;h=100&amp;img=http://www.FULL-URL.com/wimage.php?SomePhoto.jpg it works great, i mean, its a full combination of 2 scripts, first it puts watermark and then it resizes it. the problem is that it takes too long because of the re-calling for the images. i am trying to access now imgresize.php?w=100&amp;h=100&amp;img=images/photos/SOMEPHOTO.jpg it gives me an error. how can i combine these two scripts? or how can i simply add a watermark protection (PNG based) to this awsome script???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Smartbro DNS Hijacjed by Akratz.com by Smart_bobo</title>
		<link>http://tech.mikelopez.info/2008/04/23/smartbro-dns-hijacjed-by-akratzcom/#comment-113113</link>
		<dc:creator>Smart_bobo</dc:creator>
		<pubDate>Wed, 03 Sep 2008 04:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://tech.mikelopez.info/2008/04/23/smartbro-dns-hijacjed-by-akratzcom/#comment-113113</guid>
		<description>there is a BIG PROBLEM when you use OpenDNS with SmartBro...why??

because in SmartBro there are like 10-20 people sharing the same IP addresss...and with opendns it is IP related meaning every setting you made with opendns (like adult filtering etc.) it will also affect other people who share the same IP with you, especially if that person is also using opendns...</description>
		<content:encoded><![CDATA[<p>there is a BIG PROBLEM when you use OpenDNS with SmartBro&#8230;why??</p>
<p>because in SmartBro there are like 10-20 people sharing the same IP addresss&#8230;and with opendns it is IP related meaning every setting you made with opendns (like adult filtering etc.) it will also affect other people who share the same IP with you, especially if that person is also using opendns&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Image Resize Script by aED</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113112</link>
		<dc:creator>aED</dc:creator>
		<pubDate>Mon, 01 Sep 2008 02:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113112</guid>
		<description>Very nice Thanks for sharing this will help alot....</description>
		<content:encoded><![CDATA[<p>Very nice Thanks for sharing this will help alot&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
