<?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"
	>
<channel>
	<title>Comments on: drawImage performance on Leopard</title>
	<atom:link href="http://terminalapp.net/drawimage-performance-on-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://terminalapp.net/drawimage-performance-on-leopard/</link>
	<description>All computers should be destroyed. And flies too.</description>
	<pubDate>Thu, 28 Aug 2008 12:47:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: joshpaul</title>
		<link>http://terminalapp.net/drawimage-performance-on-leopard/#comment-608</link>
		<dc:creator>joshpaul</dc:creator>
		<pubDate>Thu, 28 Feb 2008 06:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/drawimage-performance-on-leopard/#comment-608</guid>
		<description>If you're deploying on OSX, you can use sips (which I found to be a little faster).

cmd = "sips -s format jpeg --resampleHeightWidth " +  (int) scaledHeight + " " + (int) scaledWidth + " " + ((File) origImage).getAbsolutePath() + " --out " + ((File) newImage).getAbsolutePath();</description>
		<content:encoded><![CDATA[<p>If you&#8217;re deploying on OSX, you can use sips (which I found to be a little faster).</p>
<p>cmd = &#8220;sips -s format jpeg &#8211;resampleHeightWidth &#8221; +  (int) scaledHeight + &#8221; &#8221; + (int) scaledWidth + &#8221; &#8221; + ((File) origImage).getAbsolutePath() + &#8221; &#8211;out &#8221; + ((File) newImage).getAbsolutePath();</p>
]]></content:encoded>
	</item>
</channel>
</rss>
