<?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: How to specify image quality/compression?</title>
<link>http://phpthumb.gxdlabs.com/forums/</link>
<description>Help, Suggestions, and General Discussion</description>
<language>en</language>
<pubDate>Tue, 07 Feb 2012 12:18:09 +0000</pubDate>

<item>
<title>lasse on "How to specify image quality/compression?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-to-specify-image-qualitycompression#post-58</link>
<pubDate>Fri, 17 Jul 2009 09:28:33 +0000</pubDate>
<dc:creator>lasse</dc:creator>
<guid isPermaLink="false">58@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Superb :-)
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "How to specify image quality/compression?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-to-specify-image-qualitycompression#post-57</link>
<pubDate>Fri, 17 Jul 2009 09:10:09 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">57@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;The image quality is only really relevant for JPEG images, and that can be set globally as described here:&#60;br /&#62;
&#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;&#60;/p&#62;
&#60;p&#62;Hope that helps :)
&#60;/p&#62;</description>
</item>
<item>
<title>lasse on "How to specify image quality/compression?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-to-specify-image-qualitycompression#post-56</link>
<pubDate>Fri, 17 Jul 2009 02:57:33 +0000</pubDate>
<dc:creator>lasse</dc:creator>
<guid isPermaLink="false">56@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hello, I've used PHP Thumb and been very happy with it. However, I can't seem to figure out how to specify a quality setting when saving an image?&#60;/p&#62;
&#60;p&#62;I tried:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;		private function _createThumbnail($sourcePath, $destPath, $w, $h, $q)&#60;br /&#62;
		{&#60;br /&#62;
		     $thumb = CB_Image_Thumbnail::create($sourcePath);&#60;br /&#62;
		     $thumb-&#38;gt;resize($w, $h);&#60;br /&#62;
		     $thumb-&#38;gt;save($destPath, $q);&#60;br /&#62;
		}&#60;/code&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>

