I've attached a Bmp2Jpeg DLL which I use in many projects to convert images between bmp and jpg. Works great!
To use it:
VB Code:
Private Declare Function BmpToJpeg Lib "Bmp2Jpeg.dll" _ (ByVal bmpFileName As String, ByVal JpegFilename As String, _ ByVal CompressQuality As Integer) As Integer 'To convert an image Call BmpToJpeg(strBmpFileName, strJpgFileName, 100) 'the last parameter is the picture quality (compression)




Reply With Quote