ComponentOne Imaging for Silverlight Library
Opening and Saving the Image
Bitmap > Working with Bitmap for Silverlight > Opening and Saving the Image

Two vital operations in our application are the open and save actions. We have configured the open image method to work for both when the user drops an image file onto the application and if the user decides to browse their machine. We accomplish this by passing a simple stream as our input, and we configure the application to load an image from the stream. We use baked-in OpenFileDialog and SaveFileDialogs to give our application access to files on the user's machine. Once an image is loaded, we display it in a standard Image control on the page, but behind the scenes we are loading this into a C1Bitmap component. From there we will be able to further manipulate the image with actions such as cropping, resizing and warping.