Developers can use either the SaveDIBinImageFormat or the SaveDIBInImageFormatExt methods to save a DIB into any supported image format. The key difference between the two methods is that the SaveDIBinImageFormat displays a dialog box prompting the user for input for compression and other items while the SaveDIBInImageFormatExt allows developers to pass all of this information themselves. Alternately, developers can use file format specific methods for saving DIBs into image files. If you do not need the DIB any longer, be sure to free it up using the DropDIB method.