Saving an Image in Flash

Say you’ve programmed something in Flash to allow you load an image and then rotate, blur, or resize it. Now is it possible to save this manipulated image as a JPG or PNG?