<?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: CleVR Actionscript libraries now on RIAForge</title>
	<atom:link href="http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/</link>
	<description>Panoramic photography, virtual tours and stitching software</description>
	<lastBuildDate>Thu, 26 Jan 2012 14:22:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: sunmi</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-34300</link>
		<dc:creator>sunmi</dc:creator>
		<pubDate>Fri, 22 Aug 2008 08:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-34300</guid>
		<description>if i try matt&#039;s code, then can keep exif data??(sorry, my english is poor..)</description>
		<content:encoded><![CDATA[<p>if i try matt&#8217;s code, then can keep exif data??(sorry, my english is poor..)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-28622</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 10 Jul 2008 08:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-28622</guid>
		<description>I&#039;ve added &lt;a href=&quot;http://www.clevr.com/blog/2008/resize-actionscript-bicubic-bilinear-interpolation/&quot; rel=&quot;nofollow&quot;&gt;a new post&lt;/a&gt; with a more complete description of how to do this (without the typos in this one).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added <a href="http://www.clevr.com/blog/2008/resize-actionscript-bicubic-bilinear-interpolation/" rel="nofollow">a new post</a> with a more complete description of how to do this (without the typos in this one).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-28611</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 10 Jul 2008 06:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-28611</guid>
		<description>That&#039;s brilliant, thanks Matt, will try asap and let you know the results!</description>
		<content:encoded><![CDATA[<p>That&#8217;s brilliant, thanks Matt, will try asap and let you know the results!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-28554</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Wed, 09 Jul 2008 22:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-28554</guid>
		<description>try something like:

&lt;pre lang=&quot;actionscript3&quot;&gt;
var smallPic:BitmapData = new BitmapData(200, 200);

var largePic:InterpolatedBitmapData; // Your source  image

var xFactor:Number = largePic.width / 200;
var yFactor:Number = largePic.height / 200;

for (var x:int = 0; x &lt; 200; x++) {
for (var y:int = 0; y &lt; 200; y++) {
smallPix.setPixel(x, y, largePic.getPixelBicubic(x * xFactor, y * yFactor);
}
}

}

&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>try something like:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> smallPic<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BitmapData</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BitmapData</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">200</span>, <span style="color: #000000; font-weight:bold;">200</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> largePic<span style="color: #000000; font-weight: bold;">:</span>InterpolatedBitmapData; <span style="color: #009900;">// Your source  image</span>
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> xFactor<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = largePic.<span style="color: #004993;">width</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">200</span>;
<span style="color: #6699cc; font-weight: bold;">var</span> yFactor<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = largePic.<span style="color: #004993;">height</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">200</span>;
&nbsp;
<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = <span style="color: #000000; font-weight:bold;">0</span>; <span style="color: #004993;">x</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight:bold;">200</span>; <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = <span style="color: #000000; font-weight:bold;">0</span>; <span style="color: #004993;">y</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight:bold;">200</span>; <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
smallPix.<span style="color: #004993;">setPixel</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">x</span>, <span style="color: #004993;">y</span>, largePic.getPixelBicubic<span style="color: #000000;">&#40;</span><span style="color: #004993;">x</span> <span style="color: #000000; font-weight: bold;">*</span> xFactor, <span style="color: #004993;">y</span> <span style="color: #000000; font-weight: bold;">*</span> yFactor<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-28552</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 09 Jul 2008 21:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-28552</guid>
		<description>Thanks for getting back to me Matt.
Sorry for asking, but I haven&#039;t delved deep into the realms of BitmapData - could you help point me in the right direction as to how I would use the getPixelBicubic method to resize an image? I&#039;m trying to create an AIR app that resizes my camera photo&#039;s and uploads them to my webspace, so I can just point it at a folder and let it go! I&#039;ve got it working ok, however Flash/Flex gives any jpg&#039;s it makes smaller (e.g. 200 x 200px) a jagged look. I would like to remove this, by using bicubic interpolation, or any other method. Do you have any ideas?

Thanks in advance!

Mark</description>
		<content:encoded><![CDATA[<p>Thanks for getting back to me Matt.<br />
Sorry for asking, but I haven&#8217;t delved deep into the realms of BitmapData &#8211; could you help point me in the right direction as to how I would use the getPixelBicubic method to resize an image? I&#8217;m trying to create an AIR app that resizes my camera photo&#8217;s and uploads them to my webspace, so I can just point it at a folder and let it go! I&#8217;ve got it working ok, however Flash/Flex gives any jpg&#8217;s it makes smaller (e.g. 200 x 200px) a jagged look. I would like to remove this, by using bicubic interpolation, or any other method. Do you have any ideas?</p>
<p>Thanks in advance!</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-28271</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Mon, 07 Jul 2008 11:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-28271</guid>
		<description>Hi Mark,
You use it in the same way as BitmapData, except instead of getPixel you use getPixelBicubic or getPixelBilinear, where you can pass the coordinates as Numbers rather than ints. Anything not on the pixel boundary is then interpolated.</description>
		<content:encoded><![CDATA[<p>Hi Mark,<br />
You use it in the same way as BitmapData, except instead of getPixel you use getPixelBicubic or getPixelBilinear, where you can pass the coordinates as Numbers rather than ints. Anything not on the pixel boundary is then interpolated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-28269</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 07 Jul 2008 11:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-28269</guid>
		<description>Hi,

The interpolation bitmap data class looks really cool, but how do you use it? Do you just use it as you would the bitmap data class? But then how would it know which method to use?

I&#039;ve built a Flex/AIR app that resizes images for you, but when you try to resize a large image to something quite small the result doesn&#039;t look very good! I was hoping to use the bicubic interpolation to make the picture look better (much like photoshop does).

Mark</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The interpolation bitmap data class looks really cool, but how do you use it? Do you just use it as you would the bitmap data class? But then how would it know which method to use?</p>
<p>I&#8217;ve built a Flex/AIR app that resizes images for you, but when you try to resize a large image to something quite small the result doesn&#8217;t look very good! I was hoping to use the bicubic interpolation to make the picture look better (much like photoshop does).</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-4870</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Sun, 11 Nov 2007 09:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-4870</guid>
		<description>Hi, 
Glad you like it! We do have our own class, but it&#039;s based on Kevin Hoyt&#039;s code. I essentially turned it into a slightly more general class, allowing access to the values rather than just dumping them. The class is a bit of a mess though, and only works on some photos - ones with embedded thumbnails in particular can confuse it. I am planning on cleaning it up and adding it to the library.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Glad you like it! We do have our own class, but it&#8217;s based on Kevin Hoyt&#8217;s code. I essentially turned it into a slightly more general class, allowing access to the values rather than just dumping them. The class is a bit of a mess though, and only works on some photos &#8211; ones with embedded thumbnails in particular can confuse it. I am planning on cleaning it up and adding it to the library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Watson</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/comment-page-1/#comment-4851</link>
		<dc:creator>Todd Watson</dc:creator>
		<pubDate>Sun, 11 Nov 2007 00:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comment-4851</guid>
		<description>Love the AIR app and thanks for providing some great code resources, done so well!  I noticed that you auto-orient the image based on the EXIF data and was looking for a class to do this in my own AIR app.  I was wondering if you would share that class or if it is pretty much Kevin Hoyt&#039;s code?  It seems like that would be a great utility class for AIR for loading client JPGs.  Does it require that you do two load calls on the JPG or are you able to load the image and get the EXIF out of the same call?

Todd</description>
		<content:encoded><![CDATA[<p>Love the AIR app and thanks for providing some great code resources, done so well!  I noticed that you auto-orient the image based on the EXIF data and was looking for a class to do this in my own AIR app.  I was wondering if you would share that class or if it is pretty much Kevin Hoyt&#8217;s code?  It seems like that would be a great utility class for AIR for loading client JPGs.  Does it require that you do two load calls on the JPG or are you able to load the image and get the EXIF out of the same call?</p>
<p>Todd</p>
]]></content:encoded>
	</item>
</channel>
</rss>

