In the implementation of the WPBitmap class in the Workplace Shell, the wpWriteImageFile method writes the current bitmap to the image file. For any other image type, the wpWriteImageFile method should convert the bitmap data to the appropriate image format and write the data out to the image file.