I am using following code to create bmp image.

SavePicture Clipboard.GetData, "C:\tmp.bmp"

So, I have the image as tmp.bmp file. Now, I need to convert this bmp image to jpg image.

I am currently using one method that converts bmp to jpg provided by one of the VB source site.

But, this method fails when I run my program as a scheduled task. So, I want to try out an alternative method which would convert bmp image to jpg image.

Any input would be helpful.

Thank you,