
Need a function to convert between bitmap, GIF, EMF, JPEG, PNG, WMF, and ICO image formats, among others? Don’t buy a third-party control: this conversion is exactly what my next crafty little snippet does. And all in a mere dozen lines of code. Just call ConvertImage, passing in the filename of your current file, the desired format of your new file (using the enumeration), and your new filename.
|