<?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: Smart Image Resizing while Preserving Transparency With PHP and GD Library</title>
	<atom:link href="http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/</link>
	<description>by Maxim Chernyak</description>
	<lastBuildDate>Thu, 15 Jul 2010 14:57:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PHP ve PNG Sorunu</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-3567</link>
		<dc:creator>PHP ve PNG Sorunu</dc:creator>
		<pubDate>Thu, 15 Jul 2010 14:57:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-3567</guid>
		<description>&lt;p&gt;[...]  [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<div style=""><p></p><p>[...]  [...]</p></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Rien</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-3364</link>
		<dc:creator>Rien</dc:creator>
		<pubDate>Tue, 22 Jun 2010 13:17:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-3364</guid>
		<description>&lt;p&gt;If i&#039;d like to resize my image with 50% ? 
How I manage that? $width = $width/2 --&gt; doesn&#039;t work..&lt;/p&gt;

&lt;p&gt;Grts&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If i&#8217;d like to resize my image with 50% ? 
How I manage that? $width = $width/2 &#8211;&gt; doesn&#8217;t work..</p>

<p>Grts</p>]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-3235</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 08 Jun 2010 09:09:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-3235</guid>
		<description>&lt;p&gt;For those who get a black background, this works perfectly with images saved as PNG 24 rather than 8. If you still get a black background and you are merging the image returned from this function on to another image then heres the problem. It took me days to figure this out and I hope it saves someone else lots of time. imagecopymerge() does NOT preserve the transparency, that is what makes it a black background, not this function, instead use imagecopy() and it will work perfectly.&lt;/p&gt;

&lt;p&gt;There are also 2 typos in this function if you get the version from GitHub, $trnprt_indx should be $transparency and $trnprt_color should be $transparent_color&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For those who get a black background, this works perfectly with images saved as PNG 24 rather than 8. If you still get a black background and you are merging the image returned from this function on to another image then heres the problem. It took me days to figure this out and I hope it saves someone else lots of time. imagecopymerge() does NOT preserve the transparency, that is what makes it a black background, not this function, instead use imagecopy() and it will work perfectly.</p>

<p>There are also 2 typos in this function if you get the version from GitHub, $trnprt_indx should be $transparency and $trnprt_color should be $transparent_color</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Amy</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-2961</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Tue, 18 May 2010 23:22:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-2961</guid>
		<description>&lt;p&gt;Ok, so I&#039;m uploading PNG files and they are resizing correctly but coming out with a black background instead of transparency. Is that due to the way the original PNG was created or is there something I need to tweek with your code. Unfortunately I don&#039;t know a lot about working with images like this. Any help is greatly appreciated.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ok, so I&#8217;m uploading PNG files and they are resizing correctly but coming out with a black background instead of transparency. Is that due to the way the original PNG was created or is there something I need to tweek with your code. Unfortunately I don&#8217;t know a lot about working with images like this. Any help is greatly appreciated.</p>

<p>Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Yoff</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-2792</link>
		<dc:creator>Yoff</dc:creator>
		<pubDate>Thu, 06 May 2010 21:36:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-2792</guid>
		<description>&lt;p&gt;Thanks!  It works like a champ!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<div style=""><p></p><p>Thanks!  It works like a champ!</p></div>]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-1/#comment-2636</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Mon, 26 Apr 2010 10:39:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-2636</guid>
		<description>&lt;p&gt;Hi, obviously you managed transparency on your debian-box ... 
any hints what you had to change ?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, obviously you managed transparency on your debian-box &#8230; 
any hints what you had to change ?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-2406</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 14 Apr 2010 01:39:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-2406</guid>
		<description>&lt;p&gt;This function is good and all, but I have been looking for 3 days now on how to fill the transparent portion with a specific color. As you can probably guess, I am not all that familiar with GD.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This function is good and all, but I have been looking for 3 days now on how to fill the transparent portion with a specific color. As you can probably guess, I am not all that familiar with GD.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Amien</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-2382</link>
		<dc:creator>Amien</dc:creator>
		<pubDate>Mon, 12 Apr 2010 21:21:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-2382</guid>
		<description>&lt;p&gt;Awesome stuff! Thanks!&lt;/p&gt;

&lt;p&gt;Now to add a watermark/branding parameter ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Awesome stuff! Thanks!</p>

<p>Now to add a watermark/branding parameter ;)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-2317</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Thu, 08 Apr 2010 15:18:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-2317</guid>
		<description>&lt;p&gt;Excellent work. I am using your function (along with Aaron&#039;s fix) and it works great.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Excellent work. I am using your function (along with Aaron&#8217;s fix) and it works great.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: pat</title>
		<link>http://mediumexposure.com/smart-image-resizing-while-preserving-transparency-php-and-gd-library/comment-page-2/#comment-1030</link>
		<dc:creator>pat</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:15:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-1030</guid>
		<description>&lt;p&gt;Struggled with inconsistent transparency-results on a resized PNG for two hours...
Solved my problem in 5min after i found your routine/example...
THANKS!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<div style=""><p></p><p>Struggled with inconsistent transparency-results on a resized PNG for two hours&#8230;
Solved my problem in 5min after i found your routine/example&#8230;
THANKS!</p></div>]]></content:encoded>
	</item>
</channel>
</rss>
