I'm not sure there is such a beast in the open source world. If it were, I would find it, because I had the same requirement. But, of course, it is possible to create it with Silverlight 3 capabilities in combination with a small type of third-party third-party developers such as FJcore. I did just that because I wanted to add a local image file and load the optimized version into a remote database.
The downloadable editor / editor I created does the following:
Select an image (JPG, GIF, PNG) from the local file system Extract EXIF ββdata Rotate the image Crop the image Adjust the brightness, contrast, saturation Resize and download optimized JPEG via the web service
Writablebitmap is the key to editing bitmap images. It is very simple, and that I use to render the image, crop the image and resize it before sending. It is worth remembering that a bitmap is not a very efficient way to send an image, so I used FJCore to encode the sending of the bitmap. Another really useful thing that SL3 does is support pixel effects written in HLSL. There are two built-in, shadow and blur, and you can write your own. I adapted some HLSL code from the DirectX SDK to create a custom effect that adjusts contrast, brightness, etc.
A. And I got one more. I'm not sure if it was a mistake or my own understanding, but it was difficult for me to rotate the image using the writeablebitmap constructor, and as a result, a simple array conversion was written to rotate the recorded bitmap.
There is a demo of all the functions here (download the clipping) here:
http://www.sharemyroutes.com/demos/imageupload.aspx
source share