<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from PHP to ASP.NET</title><link>http://forums.asp.net/44.aspx</link><description>Discuss moving from PHP to ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>imagecopy and imagecopymerge</title><link>http://forums.asp.net/thread/3186614.aspx</link><pubDate>Tue, 26 May 2009 00:13:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3186614</guid><dc:creator>soulblade</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3186614.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=3186614</wfw:commentRss><description>&lt;p&gt;hi, im looking for an equivalent code for imagecopy and imagecopymerge (GD) for Bitmap class. Before this I used GD-Sharp (wrapper) but I didnt notice that the license is GPL. So now Im trying to use all Bitmap instead of using other external library.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;
&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;&lt;span class="kwd"&gt;for&lt;/span&gt; ($i = 0; $i &amp;lt; $radius; $i++)    { &lt;br /&gt;&lt;b id="2"&gt;2    &lt;/b&gt;            imagecopy ($imgBlur, $img, 0, 0, 1, 0, $w - 1, $h);&lt;br /&gt;&lt;b id="3"&gt;3    &lt;/b&gt;            imagecopymerge ($imgBlur, $img, 1, 0, 0, 0, $w, $h, 50);&lt;br /&gt;&lt;b id="4"&gt;4    &lt;/b&gt;            imagecopymerge ($imgBlur, $img, 0, 0, 0, 0, $w, $h, 50);&lt;br /&gt;&lt;b id="5"&gt;5    &lt;/b&gt;            imagecopy ($imgCanvas, $imgBlur, 0, 0, 0, 0, $w, $h); &lt;br /&gt;&lt;b id="6"&gt;6    &lt;/b&gt;&lt;br /&gt;&lt;b id="7"&gt;7    &lt;/b&gt;            imagecopymerge ($imgBlur, $imgCanvas, 0, 0, 0, 1, $w, $h - 1, 33.33333 );&lt;br /&gt;&lt;b id="8"&gt;8    &lt;/b&gt;            imagecopymerge ($imgBlur, $imgCanvas, 0, 1, 0, 0, $w, $h, 25);&lt;br /&gt;&lt;b id="9"&gt;9    &lt;/b&gt;        } &lt;br /&gt;&lt;/pre&gt;&amp;nbsp; &lt;br /&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>