<?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: Resize multiple images and package them for e-mail transmission &#8211; introducing ImageSizer!</title>
	<atom:link href="http://www.psyked.co.uk/adobe/apollo/resize-multiple-images-and-package-them-for-e-mail-transmission-introducing-imagesizer.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.psyked.co.uk/apollo/resize-multiple-images-and-package-them-for-e-mail-transmission-introducing-imagesizer.htm</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 13:41:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Simon Peacemaker</title>
		<link>http://www.psyked.co.uk/apollo/resize-multiple-images-and-package-them-for-e-mail-transmission-introducing-imagesizer.htm/comment-page-1#comment-3899</link>
		<dc:creator>Simon Peacemaker</dc:creator>
		<pubDate>Wed, 04 Mar 2009 04:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://OrshouldIsay,emfinally/emintroducingImageSizer. Ifyou&#039;vebeenherepreviouslyinthelastcoupleofweeks,youmighthavenoticedthatacoupleoflinkstoanImageSizerapplicationhavebeenfloatingaround. BackinSeptember(atFlashon#comment-3899</guid>
		<description>amazing stuff thanx :)</description>
		<content:encoded><![CDATA[<p>amazing stuff thanx <img src="http://www.psyked.co.uk/wp-includes/images/smilies/icon_smile.gif?9d7bd4" alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.psyked.co.uk/apollo/resize-multiple-images-and-package-them-for-e-mail-transmission-introducing-imagesizer.htm/comment-page-1#comment-2509</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 08 Dec 2008 09:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://OrshouldIsay,emfinally/emintroducingImageSizer. Ifyou&#039;vebeenherepreviouslyinthelastcoupleofweeks,youmighthavenoticedthatacoupleoflinkstoanImageSizerapplicationhavebeenfloatingaround. BackinSeptember(atFlashon#comment-2509</guid>
		<description>@Kishore.v: I&#039;ll have a look into that - when I get a moment!</description>
		<content:encoded><![CDATA[<p>@Kishore.v: I&#8217;ll have a look into that &#8211; when I get a moment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kishore.v</title>
		<link>http://www.psyked.co.uk/apollo/resize-multiple-images-and-package-them-for-e-mail-transmission-introducing-imagesizer.htm/comment-page-1#comment-2497</link>
		<dc:creator>Kishore.v</dc:creator>
		<pubDate>Fri, 05 Dec 2008 14:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://OrshouldIsay,emfinally/emintroducingImageSizer. Ifyou&#039;vebeenherepreviouslyinthelastcoupleofweeks,youmighthavenoticedthatacoupleoflinkstoanImageSizerapplicationhavebeenfloatingaround. BackinSeptember(atFlashon#comment-2497</guid>
		<description>Hi James,
Thanks for your reply; I have tried the same concept to compress and resize the image. I am getting blank image display. I have written following code, please check once and give me the suggestions.

private function saveImage(srcimg:Image,destImgName:String):void{
	var byteArray:ByteArray=new ByteArray();
	var bmd:BitmapData=new BitmapData(srcimg.width, srcimg.height);
	var jpg:JPEGEncoder=new JPEGEncoder(60);
	byteArray=jpg.encode(resizeBitmapData(bmd,1));
	var fl:File = File.applicationStorageDirectory;
	var imgSource:String=&quot;d:\\thumbnail\\&quot;+destImgName;
	fl = fl.resolvePath(imgSource);
	var fs:FileStream = new FileStream();
	try{
	 fs.open(fl,FileMode.WRITE);
	 fs.writeBytes(byteArray);
	 fs.close();
	}catch(e:Error){
		trace(e.message);
		} 
}
Regards,
Kishore.v</description>
		<content:encoded><![CDATA[<p>Hi James,<br />
Thanks for your reply; I have tried the same concept to compress and resize the image. I am getting blank image display. I have written following code, please check once and give me the suggestions.</p>
<p>private function saveImage(srcimg:Image,destImgName:String):void{<br />
	var byteArray:ByteArray=new ByteArray();<br />
	var bmd:BitmapData=new BitmapData(srcimg.width, srcimg.height);<br />
	var jpg:JPEGEncoder=new JPEGEncoder(60);<br />
	byteArray=jpg.encode(resizeBitmapData(bmd,1));<br />
	var fl:File = File.applicationStorageDirectory;<br />
	var imgSource:String=&#8221;d:\\thumbnail\\&#8221;+destImgName;<br />
	fl = fl.resolvePath(imgSource);<br />
	var fs:FileStream = new FileStream();<br />
	try{<br />
	 fs.open(fl,FileMode.WRITE);<br />
	 fs.writeBytes(byteArray);<br />
	 fs.close();<br />
	}catch(e:Error){<br />
		trace(e.message);<br />
		}<br />
}<br />
Regards,<br />
Kishore.v</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sreekanth</title>
		<link>http://www.psyked.co.uk/apollo/resize-multiple-images-and-package-them-for-e-mail-transmission-introducing-imagesizer.htm/comment-page-1#comment-2496</link>
		<dc:creator>sreekanth</dc:creator>
		<pubDate>Fri, 05 Dec 2008 12:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://OrshouldIsay,emfinally/emintroducingImageSizer. Ifyou&#039;vebeenherepreviouslyinthelastcoupleofweeks,youmighthavenoticedthatacoupleoflinkstoanImageSizerapplicationhavebeenfloatingaround. BackinSeptember(atFlashon#comment-2496</guid>
		<description>Hi James,
              Thaks for your feedback ,the above url&#039;s are really helpful for me.

Regards
Sreekanth K</description>
		<content:encoded><![CDATA[<p>Hi James,<br />
              Thaks for your feedback ,the above url&#8217;s are really helpful for me.</p>
<p>Regards<br />
Sreekanth K</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.psyked.co.uk/apollo/resize-multiple-images-and-package-them-for-e-mail-transmission-introducing-imagesizer.htm/comment-page-1#comment-2494</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 05 Dec 2008 10:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://OrshouldIsay,emfinally/emintroducingImageSizer. Ifyou&#039;vebeenherepreviouslyinthelastcoupleofweeks,youmighthavenoticedthatacoupleoflinkstoanImageSizerapplicationhavebeenfloatingaround. BackinSeptember(atFlashon#comment-2494</guid>
		<description>Hi Kishore, sreekanth,

Take a look at &lt;a href=&quot;http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-asynchronous-jpeg-encoder/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-asynchronous-jpeg-encoder/&lt;/a&gt; and &lt;a href=&quot;http://www.envrac.org/index.php/2008/06/23/181-reduction-de-bitmapdata-smoothing-pourquoi-c-est-pas-beau-et-comment-ameliorer&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.envrac.org/index.php/2008/06/23/181-reduction-de-bitmapdata-smoothing-pourquoi-c-est-pas-beau-et-comment-ameliorer&lt;/a&gt; - techniques and classes from both of these links were incorporated into ImageSizer.  

The first link is an Asyncronous JPEG encoder - useful as a technique as well as a class for dealing with actions that would otherwise cause the application to hang - and the other link discusses an effective way of reducing an images&#039; size for processing.

As for the size limit on Bitmaps, it is 2880 x 2880 for individual bitmaps in ActionScript, but that doesn&#039;t mean that you can&#039;t work with larger ones - I believe there is some technique for cutting the image into manageable chunks, and then stitching them back together afterwards.

And the Application is all &lt;a href=&quot;http://www.mmtdigital.co.uk/RVE31d5c7769e694a7cbc286c1c1b2c4fd8,,.aspx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Marks&lt;/a&gt; work - I&#039;m just hosting/promoting it!</description>
		<content:encoded><![CDATA[<p>Hi Kishore, sreekanth,</p>
<p>Take a look at <a href="http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-asynchronous-jpeg-encoder/" target="_blank" rel="nofollow">http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-asynchronous-jpeg-encoder/</a> and <a href="http://www.envrac.org/index.php/2008/06/23/181-reduction-de-bitmapdata-smoothing-pourquoi-c-est-pas-beau-et-comment-ameliorer" target="_blank" rel="nofollow">http://www.envrac.org/index.php/2008/06/23/181-reduction-de-bitmapdata-smoothing-pourquoi-c-est-pas-beau-et-comment-ameliorer</a> &#8211; techniques and classes from both of these links were incorporated into ImageSizer.  </p>
<p>The first link is an Asyncronous JPEG encoder &#8211; useful as a technique as well as a class for dealing with actions that would otherwise cause the application to hang &#8211; and the other link discusses an effective way of reducing an images&#8217; size for processing.</p>
<p>As for the size limit on Bitmaps, it is 2880 x 2880 for individual bitmaps in ActionScript, but that doesn&#8217;t mean that you can&#8217;t work with larger ones &#8211; I believe there is some technique for cutting the image into manageable chunks, and then stitching them back together afterwards.</p>
<p>And the Application is all <a href="http://www.mmtdigital.co.uk/RVE31d5c7769e694a7cbc286c1c1b2c4fd8,,.aspx" target="_blank" rel="nofollow">Marks</a> work &#8211; I&#8217;m just hosting/promoting it!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 1/21 queries in 0.008 seconds using disk: basic
Object Caching 626/648 objects using disk: basic

Served from: www.psyked.co.uk @ 2012-02-10 20:28:45 -->
