<?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: JPEG Async Encoder class meets merging multi-BitmapData</title>
	<atom:link href="http://blog.inspirit.ru/?feed=rss2&#038;p=201" rel="self" type="application/rss+xml" />
	<link>http://blog.inspirit.ru/?p=201</link>
	<description>Adobe Flash experiments and stuff</description>
	<lastBuildDate>Sun, 22 Aug 2010 15:15:54 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: fater</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-3509</link>
		<dc:creator>fater</dc:creator>
		<pubDate>Sat, 26 Jun 2010 18:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-3509</guid>
		<description>The JPGEncoder is buggy, because if i want to post/save jpgstream, the image file is corrupt (async and normal encode too)

When i use com.adobe.images.JPGEncoder it&#039;s fine.

as3 post
var header:URLRequestHeader = new URLRequestHeader (&quot;Content-type&quot;, &quot;application/octet-stream&quot;);
var jpgURLRequest:URLRequest = new URLRequest (jpgSaveURL);
jpgURLRequest.requestHeaders.push(header);
jpgURLRequest.method = URLRequestMethod.POST;
jpgURLRequest.data = jpgStream;

var jpgURLLoader:URLLoader = new URLLoader();
jpgURLLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
jpgURLLoader.load( jpgURLRequest );

php
$img = $GLOBALS[&quot;HTTP_RAW_POST_DATA&quot;];
$handle = fopen($fullFilePath,&quot;w&quot;);
fwrite($handle,$img);
fclose($handle);</description>
		<content:encoded><![CDATA[<p>The JPGEncoder is buggy, because if i want to post/save jpgstream, the image file is corrupt (async and normal encode too)</p>
<p>When i use com.adobe.images.JPGEncoder it&#8217;s fine.</p>
<p>as3 post<br />
var header:URLRequestHeader = new URLRequestHeader (&#8220;Content-type&#8221;, &#8220;application/octet-stream&#8221;);<br />
var jpgURLRequest:URLRequest = new URLRequest (jpgSaveURL);<br />
jpgURLRequest.requestHeaders.push(header);<br />
jpgURLRequest.method = URLRequestMethod.POST;<br />
jpgURLRequest.data = jpgStream;</p>
<p>var jpgURLLoader:URLLoader = new URLLoader();<br />
jpgURLLoader.dataFormat = URLLoaderDataFormat.VARIABLES;<br />
jpgURLLoader.load( jpgURLRequest );</p>
<p>php<br />
$img = $GLOBALS["HTTP_RAW_POST_DATA"];<br />
$handle = fopen($fullFilePath,&#8221;w&#8221;);<br />
fwrite($handle,$img);<br />
fclose($handle);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas Markovic</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-2813</link>
		<dc:creator>Nicolas Markovic</dc:creator>
		<pubDate>Wed, 27 Jan 2010 11:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-2813</guid>
		<description>Thank you Eugene !!!! you rock !</description>
		<content:encoded><![CDATA[<p>Thank you Eugene !!!! you rock !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kode80</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-2077</link>
		<dc:creator>kode80</dc:creator>
		<pubDate>Wed, 07 Oct 2009 00:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-2077</guid>
		<description>Nice one Eugene this is exactly what I was looking for!</description>
		<content:encoded><![CDATA[<p>Nice one Eugene this is exactly what I was looking for!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oh My Bosh! Design Your Very Own Chris Bosh Paper-Robo in Augmented Reality &#8211; Adding Interactivity to Your AR Apps - Sunil&#8217;s Blog</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-1735</link>
		<dc:creator>Oh My Bosh! Design Your Very Own Chris Bosh Paper-Robo in Augmented Reality &#8211; Adding Interactivity to Your AR Apps - Sunil&#8217;s Blog</dc:creator>
		<pubDate>Fri, 31 Jul 2009 14:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-1735</guid>
		<description>[...] colleague at work pointed me towards a JPEG Async Encoder class that allows you to to merge large BitmapData objects to form a large JPEG, getting around [...]</description>
		<content:encoded><![CDATA[<p>[...] colleague at work pointed me towards a JPEG Async Encoder class that allows you to to merge large BitmapData objects to form a large JPEG, getting around [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Merging BitmapData objects to single JPEG file &#124; astatic notes</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-1570</link>
		<dc:creator>Merging BitmapData objects to single JPEG file &#124; astatic notes</dc:creator>
		<pubDate>Tue, 23 Jun 2009 12:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-1570</guid>
		<description>[...] it&#8217;s class a little to implement asynchronous encoding and add merging method as in my previous example here. In the example below you can choose desired result image size and generate JPEG file. It generates [...]</description>
		<content:encoded><![CDATA[<p>[...] it&#8217;s class a little to implement asynchronous encoding and add merging method as in my previous example here. In the example below you can choose desired result image size and generate JPEG file. It generates [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-1561</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 16 Jun 2009 20:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-1561</guid>
		<description>Very nice script. I am using this to try and merge a bunch of different bitmapdata objects. When the total merged size is ~8000pixels it works fine, but as soon as I step up to 9000 it runs fast and stuff but the resulting merged image is just white with random black spaces, nothing at all like what i receive at 8000px. Any idea why this is happening and/or if it can be fixed/worked around? I think AS has a ceiling of like 8kx8k pixels but im trying this at 8kx100px and 9kx100px - any ideas or is this just a limit that can&#039;t be worked around?

Thanks!
Dan</description>
		<content:encoded><![CDATA[<p>Very nice script. I am using this to try and merge a bunch of different bitmapdata objects. When the total merged size is ~8000pixels it works fine, but as soon as I step up to 9000 it runs fast and stuff but the resulting merged image is just white with random black spaces, nothing at all like what i receive at 8000px. Any idea why this is happening and/or if it can be fixed/worked around? I think AS has a ceiling of like 8kx8k pixels but im trying this at 8kx100px and 9kx100px &#8211; any ideas or is this just a limit that can&#8217;t be worked around?</p>
<p>Thanks!<br />
Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-1529</link>
		<dc:creator>Eugene</dc:creator>
		<pubDate>Wed, 03 Jun 2009 18:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-1529</guid>
		<description>@squirtgun this encoder is specialy designed to work in Flash 9 and higher and the one from bytearray is for Flash 10 only. So you decide wich one you need.</description>
		<content:encoded><![CDATA[<p>@squirtgun this encoder is specialy designed to work in Flash 9 and higher and the one from bytearray is for Flash 10 only. So you decide wich one you need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: squirtgun</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-1527</link>
		<dc:creator>squirtgun</dc:creator>
		<pubDate>Wed, 03 Jun 2009 18:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-1527</guid>
		<description>Is there anything like this for the PNG encoder? Also, there is some great work being done over at http://www.bytearray.org/?p=775 to optimize the JPEG encoder using flash player 10 vector class instead of normal arrays.  The speed increase is huge.  Both of these combined would be great!</description>
		<content:encoded><![CDATA[<p>Is there anything like this for the PNG encoder? Also, there is some great work being done over at <a href="http://www.bytearray.org/?p=775" rel="nofollow">http://www.bytearray.org/?p=775</a> to optimize the JPEG encoder using flash player 10 vector class instead of normal arrays.  The speed increase is huge.  Both of these combined would be great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guti</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-1388</link>
		<dc:creator>Guti</dc:creator>
		<pubDate>Thu, 14 May 2009 11:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-1388</guid>
		<description>Also I have seen your Random class in Google Code (http://code.google.com/p/in-spirit/source/browse/trunk/projects/FlickrMosaic/src/ru/inspirit/utils/Random.as).
Maybe my fastRandom implementation, which is about 3 times faster than the built-in could help.
Reach it at my blog http://guti.bitacoras.com/index.php?entry=entry071211-225114 or translated to english as http://translate.google.com/translate?u=http://guti.bitacoras.com/index.php?entry=entry071211-225114&amp;langpair=es%7Cen&amp;hl=es</description>
		<content:encoded><![CDATA[<p>Also I have seen your Random class in Google Code (<a href="http://code.google.com/p/in-spirit/source/browse/trunk/projects/FlickrMosaic/src/ru/inspirit/utils/Random.as" rel="nofollow">http://code.google.com/p/in-spirit/source/browse/trunk/projects/FlickrMosaic/src/ru/inspirit/utils/Random.as</a>).<br />
Maybe my fastRandom implementation, which is about 3 times faster than the built-in could help.<br />
Reach it at my blog <a href="http://guti.bitacoras.com/index.php?entry=entry071211-225114" rel="nofollow">http://guti.bitacoras.com/index.php?entry=entry071211-225114</a> or translated to english as <a href="http://translate.google.com/translate?u=http://guti.bitacoras.com/index.php?entry=entry071211-225114&amp;langpair=es%7Cen&amp;hl=es" rel="nofollow">http://translate.google.com/translate?u=http://guti.bitacoras.com/index.php?entry=entry071211-225114&amp;langpair=es%7Cen&amp;hl=es</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://blog.inspirit.ru/?p=201&#038;cpage=1#comment-938</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 07 Apr 2009 06:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inspirit.ru/?p=201#comment-938</guid>
		<description>great! thanks! I got similar headache before. now it seems that i have solution...</description>
		<content:encoded><![CDATA[<p>great! thanks! I got similar headache before. now it seems that i have solution&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
