<?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: How to crop and resize an image used as background for canvas</title>
	<atom:link href="http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/</link>
	<description>flex developers web corner</description>
	<lastBuildDate>Wed, 18 Jan 2012 13:28:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Zeeshan</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-2076</link>
		<dc:creator>Zeeshan</dc:creator>
		<pubDate>Wed, 18 Jan 2012 13:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-2076</guid>
		<description>Great work,
I was wondering how can I crop image with mouse?

Thanks</description>
		<content:encoded><![CDATA[<p>Great work,<br />
I was wondering how can I crop image with mouse?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjay</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-2031</link>
		<dc:creator>sanjay</dc:creator>
		<pubDate>Fri, 29 Apr 2011 07:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-2031</guid>
		<description>Is there a way to make selection, like magmatic lasso tool around an image and then crop it and save as a .png file in flex.</description>
		<content:encoded><![CDATA[<p>Is there a way to make selection, like magmatic lasso tool around an image and then crop it and save as a .png file in flex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M.Usama</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-2021</link>
		<dc:creator>M.Usama</dc:creator>
		<pubDate>Thu, 17 Mar 2011 06:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-2021</guid>
		<description>Thanks man it help.. do you have any idea how  to resize image by draging its corners...plz also help me on this</description>
		<content:encoded><![CDATA[<p>Thanks man it help.. do you have any idea how  to resize image by draging its corners&#8230;plz also help me on this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikkosArt</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-2010</link>
		<dc:creator>nikkosArt</dc:creator>
		<pubDate>Sat, 05 Feb 2011 13:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-2010</guid>
		<description>Tracy,  I wrote a flash app that allows cropping, rotation, red eye removal, control of output image DPI, and output/UPLOAD the resulting JPG to either PHP or COLDFUSION, (but it would work with any server language that can accept a post... it seems ASP classic doesn&#039;t have a simple 3 line solution for uploading files to server... please somebody post ASP code that can!) ... if you are interested checkout http://nikkosArt.com/nikkoImage ... you will find the PHP and coldfusion code posted there.</description>
		<content:encoded><![CDATA[<p>Tracy,  I wrote a flash app that allows cropping, rotation, red eye removal, control of output image DPI, and output/UPLOAD the resulting JPG to either PHP or COLDFUSION, (but it would work with any server language that can accept a post&#8230; it seems ASP classic doesn&#8217;t have a simple 3 line solution for uploading files to server&#8230; please somebody post ASP code that can!) &#8230; if you are interested checkout <a href="http://nikkosArt.com/nikkoImage" rel="nofollow">http://nikkosArt.com/nikkoImage</a> &#8230; you will find the PHP and coldfusion code posted there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahamed</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-1995</link>
		<dc:creator>ahamed</dc:creator>
		<pubDate>Wed, 08 Dec 2010 12:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-1995</guid>
		<description>Thanks for the above Resize and Crop code. After seen these code only i got an idea to develop my application. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Thanks for the above Resize and Crop code. After seen these code only i got an idea to develop my application. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stelian Crisan</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-1956</link>
		<dc:creator>Stelian Crisan</dc:creator>
		<pubDate>Fri, 03 Sep 2010 08:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-1956</guid>
		<description>That it&#039;s simple :).

In order to rotate the area you have to set the rotation angle to the transformation matrix using rotate method (&lt;b&gt;matrix.rotate&lt;/b&gt;).

For a 90 degrease rotation add this line:
&lt;pre lang=&quot;actionscript&quot;&gt;
mtrx.rotate(Math.PI/2);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>That it&#8217;s simple <img src='http://www.flexer.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>In order to rotate the area you have to set the rotation angle to the transformation matrix using rotate method (<b>matrix.rotate</b>).</p>
<p>For a 90 degrease rotation add this line:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">mtrx.<span style="color: #006600;">rotate</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Yury</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-1870</link>
		<dc:creator>Yury</dc:creator>
		<pubDate>Thu, 22 Apr 2010 10:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-1870</guid>
		<description>And what about cut rotated area?</description>
		<content:encoded><![CDATA[<p>And what about cut rotated area?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ravindra</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-1728</link>
		<dc:creator>ravindra</dc:creator>
		<pubDate>Tue, 13 Oct 2009 05:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-1728</guid>
		<description>Hi,

nice post.. thanks for the example. 

Ravindra
http://www.rsdhariwal.com</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>nice post.. thanks for the example. </p>
<p>Ravindra<br />
<a href="http://www.rsdhariwal.com" rel="nofollow">http://www.rsdhariwal.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stelian Crisan</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-1678</link>
		<dc:creator>Stelian Crisan</dc:creator>
		<pubDate>Wed, 12 Aug 2009 12:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-1678</guid>
		<description>In order to save the cropped image as jpg file you have to use FileReference class. I don&#039;t have any example as this time, sorry for that.</description>
		<content:encoded><![CDATA[<p>In order to save the cropped image as jpg file you have to use FileReference class. I don&#8217;t have any example as this time, sorry for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy</title>
		<link>http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/comment-page-1/#comment-1677</link>
		<dc:creator>Tracy</dc:creator>
		<pubDate>Wed, 12 Aug 2009 12:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=272#comment-1677</guid>
		<description>This is exactly what Im looking for Thankyou. Do you know how i might be able to get this cropped image and save it as a jpg?</description>
		<content:encoded><![CDATA[<p>This is exactly what Im looking for Thankyou. Do you know how i might be able to get this cropped image and save it as a jpg?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

