<?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"
	>
<channel>
	<title>Comments for CanvasPaint blog</title>
	<atom:link href="http://canvaspaint.org/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://canvaspaint.org/blog</link>
	<description></description>
	<pubDate>Sat, 31 Jul 2010 13:45:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Saving canvas images with PHP by Jon</title>
		<link>http://canvaspaint.org/blog/2007/01/saving-images/#comment-48423</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 14:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2007/01/saving-images/#comment-48423</guid>
		<description>Hi,

Don't know if this blog is updated, but can anyone show me how to save the image to the server in c# or translate the php to c#?

$dataurl = str_replace(" ", "+", $_POST["u"]);
$data = substr($dataurl, strpos($dataurl, “,”));

$file = fopen(”image.png”, “wb”);
fwrite($file, base64_decode($data));
fclose($file);</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Don&#8217;t know if this blog is updated, but can anyone show me how to save the image to the server in c# or translate the php to c#?</p>
<p>$dataurl = str_replace(&#8221; &#8220;, &#8220;+&#8221;, $_POST["u"]);<br />
$data = substr($dataurl, strpos($dataurl, “,”));</p>
<p>$file = fopen(”image.png”, “wb”);<br />
fwrite($file, base64_decode($data));<br />
fclose($file);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rendering text with &#60;canvas&#62; by Lars</title>
		<link>http://canvaspaint.org/blog/2006/12/rendering-text/#comment-47603</link>
		<dc:creator>Lars</dc:creator>
		<pubDate>Tue, 20 Apr 2010 22:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2006/12/rendering-text/#comment-47603</guid>
		<description>I'm a bit late to this party, but... what about fillText() in HTML 5? https://developer.mozilla.org/en/Drawing_text_using_a_canvas#fillText%28%29

The above URL says fillText() is part of the HTML 5 standard (which your "canvas spec" link above now links to).

Not sure if using HTML 5 fits your goals for CanvasPaint.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a bit late to this party, but&#8230; what about fillText() in HTML 5? <a href="https://developer.mozilla.org/en/Drawing_text_using_a_canvas#fillText%28%29" rel="nofollow">https://developer.mozilla.org/en/Drawing_text_using_a_canvas#fillText%28%29</a></p>
<p>The above URL says fillText() is part of the HTML 5 standard (which your &#8220;canvas spec&#8221; link above now links to).</p>
<p>Not sure if using HTML 5 fits your goals for CanvasPaint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving canvas images with PHP by Sako</title>
		<link>http://canvaspaint.org/blog/2007/01/saving-images/#comment-47260</link>
		<dc:creator>Sako</dc:creator>
		<pubDate>Sat, 27 Mar 2010 16:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2007/01/saving-images/#comment-47260</guid>
		<description>Hi,

I'm having a problem. 
I was using imagecreatefromstring on the php side, to create an image resource for thumbnailing/saving it. Writing directly to a PNG is way better because imagecreatefromstring is slow.
But I'm still having a problem when the posted image dataurl is too long. 640x480 images are posted correctly, 854x480 images result in a 0-byte PNG file.
Any idea?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m having a problem.<br />
I was using imagecreatefromstring on the php side, to create an image resource for thumbnailing/saving it. Writing directly to a PNG is way better because imagecreatefromstring is slow.<br />
But I&#8217;m still having a problem when the posted image dataurl is too long. 640&#215;480 images are posted correctly, 854&#215;480 images result in a 0-byte PNG file.<br />
Any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Drawing an ellipse on &#60;canvas&#62; by Nate</title>
		<link>http://canvaspaint.org/blog/2006/12/ellipse/#comment-45919</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Wed, 27 Jan 2010 22:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2006/12/ellipse/#comment-45919</guid>
		<description>You'll probably have better luck with:

// Move and scale the canvas, then draw a unit circle at the origin
trg.save();
trg.save();
trg.translate(x, y);
trg.scale(rx, ry);
trg.arc(0, 0, 1, 0, 2*Math.PI, false);
trg.restore(); // restore so stroke() isn't scaled
trg.fill();
trg.stroke();
trg.restore(); // put the canvas back the way it was</description>
		<content:encoded><![CDATA[<p>You&#8217;ll probably have better luck with:</p>
<p>// Move and scale the canvas, then draw a unit circle at the origin<br />
trg.save();<br />
trg.save();<br />
trg.translate(x, y);<br />
trg.scale(rx, ry);<br />
trg.arc(0, 0, 1, 0, 2*Math.PI, false);<br />
trg.restore(); // restore so stroke() isn&#8217;t scaled<br />
trg.fill();<br />
trg.stroke();<br />
trg.restore(); // put the canvas back the way it was</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code released into public domain by Noah</title>
		<link>http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-44934</link>
		<dc:creator>Noah</dc:creator>
		<pubDate>Thu, 10 Dec 2009 06:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-44934</guid>
		<description>Just thought I'd drop by to say thanks for the code. I used it in my senior capstone project to develop a collaborative drawing gadget for Google Wave. It's still in a very alpha state, but you can have a look for yourself if you like.

https://code.google.com/p/sketchpad-for-wave/</description>
		<content:encoded><![CDATA[<p>Just thought I&#8217;d drop by to say thanks for the code. I used it in my senior capstone project to develop a collaborative drawing gadget for Google Wave. It&#8217;s still in a very alpha state, but you can have a look for yourself if you like.</p>
<p><a href="https://code.google.com/p/sketchpad-for-wave/" rel="nofollow">https://code.google.com/p/sketchpad-for-wave/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code released into public domain by Noah</title>
		<link>http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-43123</link>
		<dc:creator>Noah</dc:creator>
		<pubDate>Tue, 13 Oct 2009 15:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-43123</guid>
		<description>High five for public domain! This will put me leaps and bounds towards completing my senior capstone project at implementing a collaborative drawing gadget for Google Wave. I'll leave another comment with the results in December.</description>
		<content:encoded><![CDATA[<p>High five for public domain! This will put me leaps and bounds towards completing my senior capstone project at implementing a collaborative drawing gadget for Google Wave. I&#8217;ll leave another comment with the results in December.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code released into public domain by &#187; Paint Online &#124; Inform&#225;tica Pr&#225;ctica &#124;</title>
		<link>http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-43044</link>
		<dc:creator>&#187; Paint Online &#124; Inform&#225;tica Pr&#225;ctica &#124;</dc:creator>
		<pubDate>Wed, 07 Oct 2009 05:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-43044</guid>
		<description>[...] gracia de CanvasPaint es que además es libre (de dominio público) la librería [...]</description>
		<content:encoded><![CDATA[<p>[...] gracia de CanvasPaint es que además es libre (de dominio público) la librería [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code released into public domain by atomic1fire</title>
		<link>http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-42787</link>
		<dc:creator>atomic1fire</dc:creator>
		<pubDate>Wed, 23 Sep 2009 01:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-42787</guid>
		<description>Too bad he isn't still working on it,
Google Chrome Frame for internet explorer was just released,
I just tried it on canvas paint, and it somewhat works in IE
install the plugin and type cf:http://canvaspaint.org/</description>
		<content:encoded><![CDATA[<p>Too bad he isn&#8217;t still working on it,<br />
Google Chrome Frame for internet explorer was just released,<br />
I just tried it on canvas paint, and it somewhat works in IE<br />
install the plugin and type cf:http://canvaspaint.org/</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code released into public domain by aries</title>
		<link>http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-42188</link>
		<dc:creator>aries</dc:creator>
		<pubDate>Fri, 28 Aug 2009 01:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-42188</guid>
		<description>Thank you very much sir, i already received the files i needed.
Its a really big help!

Thanks bro, God bless!! ~_~</description>
		<content:encoded><![CDATA[<p>Thank you very much sir, i already received the files i needed.<br />
Its a really big help!</p>
<p>Thanks bro, God bless!! ~_~</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code released into public domain by aries</title>
		<link>http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-42171</link>
		<dc:creator>aries</dc:creator>
		<pubDate>Thu, 27 Aug 2009 08:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://canvaspaint.org/blog/2008/02/code-released-into-public-domain/#comment-42171</guid>
		<description>What a great job, im quite impressed by your work.

But im having problems with the open.php and save.php,i dont know what will be the codes for that.
i couldnt get it right.. I already send you an email, and hope that you could help me with this. I really need to make it. 

Please forgive me cause im still a beginner with these things, i know i still need a lot to learn.
Thanks</description>
		<content:encoded><![CDATA[<p>What a great job, im quite impressed by your work.</p>
<p>But im having problems with the open.php and save.php,i dont know what will be the codes for that.<br />
i couldnt get it right.. I already send you an email, and hope that you could help me with this. I really need to make it. </p>
<p>Please forgive me cause im still a beginner with these things, i know i still need a lot to learn.<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.166 seconds -->
