<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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>Gravity Support Forums Topic: speedup plus potential bug fix</title>
		<link>https://legacy.forums.gravityhelp.com/topic/speedup-plus-potential-bug-fix</link>
		<description>Gravity Support Forums Topic: speedup plus potential bug fix</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 13:36:39 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/speedup-plus-potential-bug-fix" rel="self" type="application/rss+xml" />

		<item>
			<title>sboisvert@bryxal.ca on "speedup plus potential bug fix"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/speedup-plus-potential-bug-fix#post-50359</link>
			<pubDate>Thu, 23 Feb 2012 17:22:16 +0000</pubDate>
			<dc:creator>sboisvert@bryxal.ca</dc:creator>
			<guid isPermaLink="false">50359@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;in display_signature()&#60;br /&#62;
there are calls to&#60;br /&#62;
        imagepng($image);&#60;br /&#62;
        imagedestroy($image);&#60;br /&#62;
that are needless, since the image is already created you can just do this:&#60;br /&#62;
$fp = fopen($folder . $imagename, 'rb'); # stream the image directly from the cachefile&#60;br /&#62;
fpassthru($fp);&#60;/p&#62;
&#60;p&#62;instead of reprocessing it thru GD. (this was taken from PHP.net here: &#60;a href=&#34;http://php.net/manual/en/function.imagepng.php)&#34; rel=&#34;nofollow&#34;&#62;http://php.net/manual/en/function.imagepng.php)&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also we had a bug where ob_start had previously been called. So we needed to clean the output buffer first.&#60;br /&#62;
this will clean out all the buffers:&#60;br /&#62;
$levels = ob_get_level();&#60;br /&#62;
for ($i=0; $i&#38;lt;$levels; $i++)&#60;br /&#62;
	ob_end_clean();
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
