<?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: Bilinear Resampling, ShaderJob, Pixel Bender And Flash Player</title>
	<atom:link href="http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/</link>
	<description>This is the blog of Brooks Andrus. Here, at irregular intervals, you may find digital noise centered around the activities of an early 21st century technologist. I work for TechSmith Corporation, but this web space and the views found on it are entirely my own.</description>
	<lastBuildDate>Wed, 08 May 2013 11:05:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Will</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-52603</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Tue, 18 Oct 2011 04:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-52603</guid>
		<description><![CDATA[Thanks for this!  I&#039;ve tried the other bilinear options people have put out there, Lanczoz and the normal bicubic methods and this by far for my purpose produces the best results and works at a decent speed.  Maybe you think you wasted your time with a pb bicubic resampler but I would still very much like to give it a test run, because even though you can do it with smoothing, the image still can be different, which I would like to see.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this!  I&#8217;ve tried the other bilinear options people have put out there, Lanczoz and the normal bicubic methods and this by far for my purpose produces the best results and works at a decent speed.  Maybe you think you wasted your time with a pb bicubic resampler but I would still very much like to give it a test run, because even though you can do it with smoothing, the image still can be different, which I would like to see.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boris</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-52507</link>
		<dc:creator>Boris</dc:creator>
		<pubDate>Tue, 10 May 2011 12:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-52507</guid>
		<description><![CDATA[Super fast!! On AIR for Android. Thank you!!!]]></description>
		<content:encoded><![CDATA[<p>Super fast!! On AIR for Android. Thank you!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: r</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-50819</link>
		<dc:creator>r</dc:creator>
		<pubDate>Mon, 04 Oct 2010 23:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-50819</guid>
		<description><![CDATA[speaking of `reinventing the wheel`... isn&#039;t this basically the same thing as when you right click your image in the library and select &quot;Allow Smoothing&quot;?

and for dynamically loaded images, you can load allow smoothing as well

or am i missing something in here?]]></description>
		<content:encoded><![CDATA[<p>speaking of `reinventing the wheel`&#8230; isn&#8217;t this basically the same thing as when you right click your image in the library and select &#8220;Allow Smoothing&#8221;?</p>
<p>and for dynamically loaded images, you can load allow smoothing as well</p>
<p>or am i missing something in here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Goran</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-50663</link>
		<dc:creator>Goran</dc:creator>
		<pubDate>Thu, 26 Aug 2010 08:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-50663</guid>
		<description><![CDATA[Great post. tnx:)]]></description>
		<content:encoded><![CDATA[<p>Great post. tnx:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dubbeat</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-50524</link>
		<dc:creator>dubbeat</dc:creator>
		<pubDate>Fri, 02 Jul 2010 09:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-50524</guid>
		<description><![CDATA[legend. thanks]]></description>
		<content:encoded><![CDATA[<p>legend. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoz</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-50078</link>
		<dc:creator>Yoz</dc:creator>
		<pubDate>Sat, 16 Jan 2010 14:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-50078</guid>
		<description><![CDATA[Hi, I have just figured out smoother downscaling
http://blog.yoz.sk/2010/01/how-to-resize-an-image-with-actionscript/]]></description>
		<content:encoded><![CDATA[<p>Hi, I have just figured out smoother downscaling<br />
<a href="http://blog.yoz.sk/2010/01/how-to-resize-an-image-with-actionscript/" rel="nofollow">http://blog.yoz.sk/2010/01/how-to-resize-an-image-with-actionscript/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to resize an image with ActionScript at Jozef Chú?ka&#39;s blog</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-50076</link>
		<dc:creator>How to resize an image with ActionScript at Jozef Chú?ka&#39;s blog</dc:creator>
		<pubDate>Wed, 13 Jan 2010 21:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-50076</guid>
		<description><![CDATA[[...] If you are looking for transformation between BitmapData, Bitmap, ByteArray, read this article. Continue reading about Bilinear Resampling, ShaderJob, Pixel Bender And Flash Player. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] If you are looking for transformation between BitmapData, Bitmap, ByteArray, read this article. Continue reading about Bilinear Resampling, ShaderJob, Pixel Bender And Flash Player. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Li</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49964</link>
		<dc:creator>Andy Li</dc:creator>
		<pubDate>Mon, 24 Aug 2009 23:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49964</guid>
		<description><![CDATA[I&#039;ve just made bicubic resampling in Pixel Bender:) See it at http://blog.onthewings.net/2009/08/25/bicubic-resampling-by-pixel-bender/]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve just made bicubic resampling in Pixel Bender:) See it at <a href="http://blog.onthewings.net/2009/08/25/bicubic-resampling-by-pixel-bender/" rel="nofollow">http://blog.onthewings.net/2009/08/25/bicubic-resampling-by-pixel-bender/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bjorn</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49948</link>
		<dc:creator>bjorn</dc:creator>
		<pubDate>Fri, 31 Jul 2009 23:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49948</guid>
		<description><![CDATA[the best fix is stageQualiy = best]]></description>
		<content:encoded><![CDATA[<p>the best fix is stageQualiy = best</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49947</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 31 Jul 2009 22:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49947</guid>
		<description><![CDATA[I found that taking a larger picture and dividing the width and height by 4 gave me jaggy edges yet if I first divided width and height by 2, then used that image and divided width and height by 2 again this was much cleaner. Would bicubic resampling solve this problem? Any eta when adobe might make that option available?]]></description>
		<content:encoded><![CDATA[<p>I found that taking a larger picture and dividing the width and height by 4 gave me jaggy edges yet if I first divided width and height by 2, then used that image and divided width and height by 2 again this was much cleaner. Would bicubic resampling solve this problem? Any eta when adobe might make that option available?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: High quality, high performance thumbnails in Flash - Jacob Wright &#8211; Flex, AIR, PHP, etc.</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49937</link>
		<dc:creator>High quality, high performance thumbnails in Flash - Jacob Wright &#8211; Flex, AIR, PHP, etc.</dc:creator>
		<pubDate>Fri, 17 Jul 2009 19:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49937</guid>
		<description><![CDATA[[...] some more searching I found that Brooks Andrus played with some algorithms using Pixel Bender. The conclusion to that was he found he could do the same thing with the &quot;smoothing&quot; option in the [...]]]></description>
		<content:encoded><![CDATA[<p>[...] some more searching I found that Brooks Andrus played with some algorithms using Pixel Bender. The conclusion to that was he found he could do the same thing with the &#8220;smoothing&#8221; option in the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjorn</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49925</link>
		<dc:creator>Bjorn</dc:creator>
		<pubDate>Wed, 01 Jul 2009 23:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49925</guid>
		<description><![CDATA[Hi Brooks,

It seems Flash wont apply smoothing when scaling large images to smaller bitmapDatas.

So far you&#039;re solution is the only one i&#039;ve found.

thanks]]></description>
		<content:encoded><![CDATA[<p>Hi Brooks,</p>
<p>It seems Flash wont apply smoothing when scaling large images to smaller bitmapDatas.</p>
<p>So far you&#8217;re solution is the only one i&#8217;ve found.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49857</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 23 Apr 2009 15:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49857</guid>
		<description><![CDATA[Do you know what scaling function is used for bitmapdata.draw with and without smooth?]]></description>
		<content:encoded><![CDATA[<p>Do you know what scaling function is used for bitmapdata.draw with and without smooth?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooks</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49823</link>
		<dc:creator>Brooks</dc:creator>
		<pubDate>Thu, 02 Apr 2009 19:52:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49823</guid>
		<description><![CDATA[@Erik - I&#039;ve looked but haven&#039;t seen anything that will do bicubic sampling. The limitations on PBK code for Flash Player might make it hard to to pull that off. I did read somewhere that the PixelBender team was considering adding different sampling techniques in the future--hopefully they do.]]></description>
		<content:encoded><![CDATA[<p>@Erik &#8211; I&#8217;ve looked but haven&#8217;t seen anything that will do bicubic sampling. The limitations on PBK code for Flash Player might make it hard to to pull that off. I did read somewhere that the PixelBender team was considering adding different sampling techniques in the future&#8211;hopefully they do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49822</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 02 Apr 2009 19:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49822</guid>
		<description><![CDATA[Heh..  the path information had nothing to do with my problems (environment issues were the culprit). That annoyance aside, I am wondering if you&#039;ve come across an implementation of bicubic sampling for pixel bender?  Thanks for introducing me to pixel bender!]]></description>
		<content:encoded><![CDATA[<p>Heh..  the path information had nothing to do with my problems (environment issues were the culprit). That annoyance aside, I am wondering if you&#8217;ve come across an implementation of bicubic sampling for pixel bender?  Thanks for introducing me to pixel bender!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49820</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Wed, 01 Apr 2009 23:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49820</guid>
		<description><![CDATA[Ah, I see.  I changed the package to &quot;test&quot; and the pbj/pbk&#039;s have their path&#039;s coded in.]]></description>
		<content:encoded><![CDATA[<p>Ah, I see.  I changed the package to &#8220;test&#8221; and the pbj/pbk&#8217;s have their path&#8217;s coded in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49819</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Wed, 01 Apr 2009 23:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49819</guid>
		<description><![CDATA[Trying to run your code to test drive, but get

Error: Type was not found or was not a compile-time constant: BilinearScaling.

Snagging on this line:
shader.byteCode = new BilinearScaling();

Any suggestions?  (I am able to link to the pbj file, btw, so I don&#039;t think that is the error).]]></description>
		<content:encoded><![CDATA[<p>Trying to run your code to test drive, but get</p>
<p>Error: Type was not found or was not a compile-time constant: BilinearScaling.</p>
<p>Snagging on this line:<br />
shader.byteCode = new BilinearScaling();</p>
<p>Any suggestions?  (I am able to link to the pbj file, btw, so I don&#8217;t think that is the error).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: localToGlobal &#187; Blog Archive &#187; news review -&#62; 11th week of 2009</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49789</link>
		<dc:creator>localToGlobal &#187; Blog Archive &#187; news review -&#62; 11th week of 2009</dc:creator>
		<pubDate>Fri, 13 Mar 2009 17:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49789</guid>
		<description><![CDATA[[...] &gt; Bilinear Resampling With Flash Player and Pixel Bender [...]]]></description>
		<content:encoded><![CDATA[<p>[...] &gt; Bilinear Resampling With Flash Player and Pixel Bender [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooks</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49783</link>
		<dc:creator>Brooks</dc:creator>
		<pubDate>Thu, 12 Mar 2009 17:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49783</guid>
		<description><![CDATA[@felix - hmm...yah, you can. You actually have to create a temp bitmap at input dimensions, do a bitmap.draw() on your bitmap, then create another bitmap at output dimensions and do a bitmap.draw() with smoothing turned on and a Matrix that contains your scale.

 I thought I had read out on the web that smoothing didn&#039;t work when the image was downsampled, but after your comment I double checked and it seems to do a decent job (initially when I tested I was turning smoothing and using a DisplayObject as the source which won&#039;t work. You need to create the temp bitmap first).

The only consolation I can give anyone is this post gives a nice example of how to use a Pixel Bender shader with a ShaderJob, rather than just applying it as  a filter.]]></description>
		<content:encoded><![CDATA[<p>@felix &#8211; hmm&#8230;yah, you can. You actually have to create a temp bitmap at input dimensions, do a bitmap.draw() on your bitmap, then create another bitmap at output dimensions and do a bitmap.draw() with smoothing turned on and a Matrix that contains your scale.</p>
<p> I thought I had read out on the web that smoothing didn&#8217;t work when the image was downsampled, but after your comment I double checked and it seems to do a decent job (initially when I tested I was turning smoothing and using a DisplayObject as the source which won&#8217;t work. You need to create the temp bitmap first).</p>
<p>The only consolation I can give anyone is this post gives a nice example of how to use a Pixel Bender shader with a ShaderJob, rather than just applying it as  a filter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: felix</title>
		<link>http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/comment-page-1/#comment-49782</link>
		<dc:creator>felix</dc:creator>
		<pubDate>Thu, 12 Mar 2009 16:45:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/?p=927#comment-49782</guid>
		<description><![CDATA[Can&#039;t you use Bitmapdata.draw() with smoothing turned on to achieve the same thing?]]></description>
		<content:encoded><![CDATA[<p>Can&#8217;t you use Bitmapdata.draw() with smoothing turned on to achieve the same thing?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
