<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>PHP Thumb Topic: preserve transparency in png and gif</title>
<link>http://phpthumb.gxdlabs.com/forums/</link>
<description>Help, Suggestions, and General Discussion</description>
<language>en</language>
<pubDate>Tue, 07 Feb 2012 12:17:07 +0000</pubDate>

<item>
<title>Ian on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-99</link>
<pubDate>Sun, 13 Sep 2009 21:43:39 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">99@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;I've been pretty swamped with the 9-5, but like I said, there is some initial support for transparency already baked in.  Take a look at some of the options over at &#60;a href=&#34;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/GettingStarted#Options&#34; rel=&#34;nofollow&#34;&#62;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/GettingStarted#Options&#60;/a&#62; and see if those can hold you over until I get a chance to put some more time into this :)
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-98</link>
<pubDate>Sun, 13 Sep 2009 09:20:31 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">98@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi Ian!&#60;/p&#62;
&#60;p&#62;Can you please give some feedback on this?&#60;br /&#62;
It would be awesome to be able to work with transparency soon :)&#60;/p&#62;
&#60;p&#62;Thanks.&#60;br /&#62;
tronics
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-91</link>
<pubDate>Fri, 21 Aug 2009 12:48:05 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">91@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Thanks Ian, you are great :)
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-90</link>
<pubDate>Thu, 20 Aug 2009 08:38:25 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">90@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I put some initial support into the library for transparency, but I'll take a look and see if anything's up with the library.  If not, I'll take a look at the code you've supplied and see if it helps solve any issues :)
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-89</link>
<pubDate>Wed, 19 Aug 2009 02:58:57 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">89@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;This code helps preserving transparency, we shall add this to the library in case it is not already possible:&#60;/p&#62;
&#60;p&#62;1) &#60;a href=&#34;http://stackoverflow.com/questions/32243/can-png-image-transparency-be-preserved-when-using-phps-gdlib-imagecopyresampled&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/32243/can-png-image-transparency-be-preserved-when-using-phps-gdlib-imagecopyresampled&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) &#60;a href=&#34;http://mediumexposure.com/techblog/smart-image-resizing-while-preserving-transparency-php-and-gd-library&#34; rel=&#34;nofollow&#34;&#62;http://mediumexposure.com/techblog/smart-image-resizing-while-preserving-transparency-php-and-gd-library&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-85</link>
<pubDate>Sun, 16 Aug 2009 14:59:44 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">85@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;Everything works very well so far, but I found problems with transparency.&#60;/p&#62;
&#60;p&#62;$_filename=&#34;nicename.png&#34;;&#60;br /&#62;
$format=&#34;png&#34;;&#60;br /&#62;
$thumb-&#38;gt;resize($width,$height')-&#38;gt;save($_filename,$format);&#60;br /&#62;
$thumb = PhpThumbFactory::create($_filename);//take the cached Thumb.&#60;br /&#62;
$thumb-&#38;gt;show();  &#60;/p&#62;
&#60;p&#62;When I tried to resize and save this image here with png and transparency it turns out to have a black background (the same as when saved in jpg Format)&#60;/p&#62;
&#60;p&#62;Try this image to test it:&#60;br /&#62;
&#60;a href=&#34;http://www.atomikframework.com/assets/images/logo.png&#34; rel=&#34;nofollow&#34;&#62;http://www.atomikframework.com/assets/images/logo.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Do I make any mistake, or is this a bug?&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
</item>

</channel>
</rss>

