<?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: Speed up JPEG encoding using Alchemy</title>
	<atom:link href="http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/</link>
	<description>// Flex, AIR, Flash</description>
	<lastBuildDate>Mon, 08 Mar 2010 09:27:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Flash Jpeg Encodierung mit Alchemy &#124; Augmented World</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-49553</link>
		<dc:creator>Flash Jpeg Encodierung mit Alchemy &#124; Augmented World</dc:creator>
		<pubDate>Mon, 22 Feb 2010 12:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-49553</guid>
		<description>[...] Ich arbeite zur Zeit an einem Projekt bei dem Bilddaten in einer Flashapplikation bearbeitet und danach auf einen Server übertragen werden. Ein großes Problem bestand bis jetzt darin die Bitmapdaten nach Bearbeitung in JPEG zu encodieren. Dieser Vorgang ist sehr rechenintensiv und brachte die Applikation für einen kurzen Moment zum einfrieren.  Durch Zufall bin ich über einen Blogeintrag von Jens Krause gestolpert. &lt;Link&gt; [...]</description>
		<content:encoded><![CDATA[<p>[...] Ich arbeite zur Zeit an einem Projekt bei dem Bilddaten in einer Flashapplikation bearbeitet und danach auf einen Server übertragen werden. Ein großes Problem bestand bis jetzt darin die Bitmapdaten nach Bearbeitung in JPEG zu encodieren. Dieser Vorgang ist sehr rechenintensiv und brachte die Applikation für einen kurzen Moment zum einfrieren.  Durch Zufall bin ich über einen Blogeintrag von Jens Krause gestolpert. &lt;Link&gt; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dada</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-49543</link>
		<dc:creator>dada</dc:creator>
		<pubDate>Sun, 07 Feb 2010 10:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-49543</guid>
		<description>hello. 

I had this error : RangeError: Error #1506: The specified range is invalid.

It stopped occuring when I put as3_jpeg_wrapper.swc  initialization code into the static method that is fired only once. Maybe it could help.</description>
		<content:encoded><![CDATA[<p>hello. </p>
<p>I had this error : RangeError: Error #1506: The specified range is invalid.</p>
<p>It stopped occuring when I put as3_jpeg_wrapper.swc  initialization code into the static method that is fired only once. Maybe it could help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-49506</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Fri, 11 Dec 2009 05:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-49506</guid>
		<description>Hi,I compile your c source,but there are some questions and I can&#039;t sucess,Can you give me some suggestions,Look forward your reply,Thanks!!</description>
		<content:encoded><![CDATA[<p>Hi,I compile your c source,but there are some questions and I can&#8217;t sucess,Can you give me some suggestions,Look forward your reply,Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-49504</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 08 Dec 2009 02:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-49504</guid>
		<description>HI,I use your as3_jpeg_wrapper.swc to compress jpeg,because of the high cpu the whole IE dead,and it can&#039;t do anything,I think if I can send event to actionscript3.0 in swc like the progressBar in actionscript3.0,so I can know the progress like the actionscript3,what&#039;s more,the most import is how i can solve the IE death,look forward you reply.</description>
		<content:encoded><![CDATA[<p>HI,I use your as3_jpeg_wrapper.swc to compress jpeg,because of the high cpu the whole IE dead,and it can&#8217;t do anything,I think if I can send event to actionscript3.0 in swc like the progressBar in actionscript3.0,so I can know the progress like the actionscript3,what&#8217;s more,the most import is how i can solve the IE death,look forward you reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ActionScript 3 encoding JPEG at Jozef Chú?ka&#39;s blog</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-49469</link>
		<dc:creator>ActionScript 3 encoding JPEG at Jozef Chú?ka&#39;s blog</dc:creator>
		<pubDate>Fri, 09 Oct 2009 12:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-49469</guid>
		<description>[...] Speed up JPEG encoding using Alchemy [...]</description>
		<content:encoded><![CDATA[<p>[...] Speed up JPEG encoding using Alchemy [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian Chiariello</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-47939</link>
		<dc:creator>Sebastian Chiariello</dc:creator>
		<pubDate>Thu, 17 Sep 2009 17:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-47939</guid>
		<description>Well... does&#039;t work if i changed so... dont care.

Have another question if any can help i will appreciate:
I have a image that i rotate with Matrix method, i want to save the rotated image, but it just save the original image. I need also to apply some filters to this image so, why does&#039;t save the matrix transform 
update?

Thanks in advance

PS: fix the math question... i think U have a problem in math hehe (at least on firefox isnt work)</description>
		<content:encoded><![CDATA[<p>Well&#8230; does&#8217;t work if i changed so&#8230; dont care.</p>
<p>Have another question if any can help i will appreciate:<br />
I have a image that i rotate with Matrix method, i want to save the rotated image, but it just save the original image. I need also to apply some filters to this image so, why does&#8217;t save the matrix transform<br />
update?</p>
<p>Thanks in advance</p>
<p>PS: fix the math question&#8230; i think U have a problem in math hehe (at least on firefox isnt work)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian Chiariello</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-47928</link>
		<dc:creator>Sebastian Chiariello</dc:creator>
		<pubDate>Thu, 17 Sep 2009 17:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-47928</guid>
		<description>What are the parameters 3 and 2 on write_jpeg_file method?</description>
		<content:encoded><![CDATA[<p>What are the parameters 3 and 2 on write_jpeg_file method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danno</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-43046</link>
		<dc:creator>danno</dc:creator>
		<pubDate>Fri, 24 Jul 2009 00:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-43046</guid>
		<description>is there a version that will work with flash cs3/cs4 instead of just flex?

thanks!

rocksteady,
danno~</description>
		<content:encoded><![CDATA[<p>is there a version that will work with flash cs3/cs4 instead of just flex?</p>
<p>thanks!</p>
<p>rocksteady,<br />
danno~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-42910</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 20 Jul 2009 15:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-42910</guid>
		<description>First, thank you for this great post. I have been able to get alchemy up and running successfully.

I use a function &#039;handleLoadPicture&#039; (see below) in a drag and drop scenario to add pictures to my AIR application.  When I start my AIR application, I am always successful on the first drag and drop.  I always get the following message on my second attempt at a drag and drop during my session:

RangeError: Error #1506: The specified range is invalid.
at cmodule.as3_jpeg_wrapper::FSM_imalloc$/start()
at cmodule.as3_jpeg_wrapper::FSM_pubrealloc/work()
at ()
at ()

private function handleLoadPicture(event:Event):void {

  var loader:Loader = Loader(event.target.loader);

  var image:Bitmap = Bitmap(loader.content);

  var init:CLibInit = new CLibInit;
  
  var as3_jpeg_wrapper:Object = init.init();
  
  var ba:ByteArray = image.bitmapData.clone().getPixels(image.bitmapData.rect);

  var baout:ByteArray = as3_jpeg_wrapper.write_jpeg_file(ba, image.bitmapData.width, image.bitmapData.height, 3, 2, 100);

  picture.source = baout;
}


Any help would be greatly appreciated. Thank you!</description>
		<content:encoded><![CDATA[<p>First, thank you for this great post. I have been able to get alchemy up and running successfully.</p>
<p>I use a function &#8216;handleLoadPicture&#8217; (see below) in a drag and drop scenario to add pictures to my AIR application.  When I start my AIR application, I am always successful on the first drag and drop.  I always get the following message on my second attempt at a drag and drop during my session:</p>
<p>RangeError: Error #1506: The specified range is invalid.<br />
at cmodule.as3_jpeg_wrapper::FSM_imalloc$/start()<br />
at cmodule.as3_jpeg_wrapper::FSM_pubrealloc/work()<br />
at ()<br />
at ()</p>
<p>private function handleLoadPicture(event:Event):void {</p>
<p>  var loader:Loader = Loader(event.target.loader);</p>
<p>  var image:Bitmap = Bitmap(loader.content);</p>
<p>  var init:CLibInit = new CLibInit;</p>
<p>  var as3_jpeg_wrapper:Object = init.init();</p>
<p>  var ba:ByteArray = image.bitmapData.clone().getPixels(image.bitmapData.rect);</p>
<p>  var baout:ByteArray = as3_jpeg_wrapper.write_jpeg_file(ba, image.bitmapData.width, image.bitmapData.height, 3, 2, 100);</p>
<p>  picture.source = baout;<br />
}</p>
<p>Any help would be greatly appreciated. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Susrut Mishra</title>
		<link>http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/comment-page-1/#comment-42645</link>
		<dc:creator>Susrut Mishra</dc:creator>
		<pubDate>Thu, 16 Jul 2009 22:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=287#comment-42645</guid>
		<description>I have used both the alchemy swcs for adding image byteArrays into pdf using alivepdf. When I don&#039;t use the position property for the byteArray I get a black image and if I set the value to zero then it appears skewed. When I change the value to some positive integer the skew appears in different angle. Need help!!</description>
		<content:encoded><![CDATA[<p>I have used both the alchemy swcs for adding image byteArrays into pdf using alivepdf. When I don&#8217;t use the position property for the byteArray I get a black image and if I set the value to zero then it appears skewed. When I change the value to some positive integer the skew appears in different angle. Need help!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
