In Chapter 4 I demonstrated how a Windows Phone 7 program can obtain bitmaps. These bitmaps can originate with the application itself, they can be downloaded from the Web, or they can come from the camera or from the phone’s picture library. In this chapter I’ll go beyond the task of loading bitmaps into the realm of saving bitmaps. You can save a bitmap in isolated storage, or in a special album of the picture library identified as “Saved Pictures.”
If your program needs to save a bitmap, there’s probably a good reason for it! Your application is probably creating a bitmap from scratch or modifying an existing bitmap in some way. These jobs involve the use of the exciting and powerful WriteableBitmap class.