<p>Is it possible to do image processing in silverlight 2.0?</p>

<p>What I want to do is take an image, crop it, and then send the new cropped image up to the server.  I know I can fake it by clipping the image, but that only effects the rendering of the image.  I want to create a new image.</p>

<p>After further research I have answered my own question. Answer: <strong>No</strong>.  Since all apis would be in <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.aspx" rel="nofollow noreferrer">System.Windows.Media.Imaging</a> and that namespace does not have the appropriate classes in Silverlight</p>

<p>I'm going to use fjcore.  <a href="http://code.google.com/p/fjcore/" rel="nofollow noreferrer">http://code.google.com/p/fjcore/</a></p>

<p>Thanks <a href="https://stackoverflow.com/users/585/jonas-folles">Jonas</a></p>

[{'answer_id': 35131, 'author': 'Daniel Jennings', 'author_id': 3641, 'author_profile': 'https://Stackoverflow.com/users/3641', 'pm_score': 2, 'selected': False, 'text': "<p>I know this doesn't directly answer your question, but what if you do all of the clipping on the client side to crop the image, then send the server the original image and the coordinates for clipping. Then on the server side, which will probably more suited for image manipulation like this (e.g. PHP it's very easy) you'll do the actual cropping of the image and storing the cropped version.</p>\n"}, {'answer_id': 35705, 'author': 'Jonas Follesø', 'author_id': 1199387, 'author_profile': 'https://Stackoverflow.com/users/1199387', 'pm_score': 3, 'selected': True, 'text': '<p>Well, you can actually do local image processing in Silverlight 2... But there are no built in classes to help you. But you can load any image into a byte array, and start manipulating it, or implement your own image encoder.</p>\n\n<p>Joe Stegman got lots of great information about "editable images" in Silverlight over at <a href="http://blogs.msdn.com/jstegman/" rel="nofollow noreferrer">http://blogs.msdn.com/jstegman/</a>.  He does things like applying filters to images, generating mandlebrots and more.</p>\n\n<p>This blog discuss a JPEG Silverilght Encoder (FJCore) you can use to resize and recompress photos client size: <a href="http://fluxcapacity.net/2008/07/14/fjcore-to-the-rescue/" rel="nofollow noreferrer">http://fluxcapacity.net/2008/07/14/fjcore-to-the-rescue/</a></p>\n\n<p>Another tool is "Fluxify" which lets you resize and upload photos using Silverilght 2. Can be found over at <a href="http://fluxtools.net/" rel="nofollow noreferrer">http://fluxtools.net/</a></p>\n\n<p>So yes, client side image processing can definetly be done in Silverilght 2. Happy hacking!</p>\n'}, {'answer_id': 859504, 'author': 'Jason Prado', 'author_id': 106517, 'author_profile': 'https://Stackoverflow.com/users/106517', 'pm_score': 1, 'selected': False, 'text': '<p>There is first-class support for bitmap surfaces in Silverlight 3: <a href="http://blogs.msdn.com/kaevans/archive/2009/03/20/some-silverlight-3-goodness-using-writeablebitmap.aspx" rel="nofollow noreferrer">http://blogs.msdn.com/kaevans/archive/2009/03/20/some-silverlight-3-goodness-using-writeablebitmap.aspx</a></p>\n'}]
['https://Stackoverflow.com/questions/35120', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/580/']