Various WPImageFile methods call the wpWriteImageFile method to change the contents of an image file.
This method converts the image data stored in the instance data from OS/2 Bitmap format to the format appropriate to the image class and writes it to the image data file.