<p>Is there any alternative image manipulation library for .net?  I would prefer something that is managed and open source. </p>

<p>I ask this because of two reasons:</p>

<ol>
<li>I have encountered hard to debug GDI+ errors with System.Drawing in the past</li>
<li>I have read that using System.Drawing in asp.net web applications is not 100% supported.</li>
</ol>

<p>Thanks!</p>

<p>edit: clarification, I know that System.Drawing can work asp.net web apps - I have used it in the past.  I really just wonder if there are any managed image manipulation libraries for .net :)</p>

[{'answer_id': 13328, 'author': 'Nick', 'author_id': 1490, 'author_profile': 'https://Stackoverflow.com/users/1490', 'pm_score': 0, 'selected': False, 'text': "<p>With respect to (1), most of the hard to debug errors are due to not closing open handles (Dispose() in managed-land).  I'm curious where you heard (2).</p>\n"}, {'answer_id': 13333, 'author': 'Chris Farmer', 'author_id': 404, 'author_profile': 'https://Stackoverflow.com/users/404', 'pm_score': 1, 'selected': False, 'text': "<p>Anecdotal evidence #1:  I have used GDI+ for on-the-fly image creation within ASP.NET with no problems.  I'm not sure what the problems would even be.  </p>\n"}, {'answer_id': 136925, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': True, 'text': '<p>I don\'t know of any fully-managed 2D drawing libraries that are either free or open-source  (there appears to be a few commercially available, but OSS is the way to go). However, you might look into <a href="http://www.go-mono.com/docs/index.aspx?tlink=0@N:Cairo" rel="nofollow noreferrer">the Mono bindings to Cairo</a>.</p>\n\n<p>Cairo is a platform independent 2D drawing API. You can find more information about it at <a href="http://cairographics.org" rel="nofollow noreferrer">the Cairo homepage</a>. The <a href="http://en.wikipedia.org/wiki/Cairo_(graphics)" rel="nofollow noreferrer">Cairo Wikipedia page</a> also has some good info.</p>\n\n<p>Cairo is also used fairly widely in the Open Source world, which to me says something about its robustness. Mozilla, Webkit, and Mono all use it, among others. Ironically, Mono actually uses it to back their System.Drawing implementation... go figure.</p>\n\n<p>There might also be a way to use Mono\'s System.Drawing implementation as a drop-in replacement for the Microsoft implementation, though I\'m not sure how or if that would even work. I would probably start by replacing the System.Drawing.dll reference with Mono\'s version, and then try to deal with any errors.</p>\n'}, {'answer_id': 381637, 'author': 'Frank Krueger', 'author_id': 338, 'author_profile': 'https://Stackoverflow.com/users/338', 'pm_score': 2, 'selected': False, 'text': '<p>You should look into <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.aspx" rel="nofollow noreferrer">the WPF Imaging libraries shipped with .NET 3.0</a>. They\'re optimized and robust (used to run Aero, so you know they\'re efficient). They don\'t depend on the WPF dispatcher, are easily extensible, and officially supported. What more could you want?</p>\n'}]
['https://Stackoverflow.com/questions/13299', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1573/']