Hello,

I have a simple app that I have been saving an image as a bitmap. This works ok and the bitmap looks good but if I try to convert the bitmap to a jpeg, it looks bad. The quality is terrible. Is there a way I can improve on the saved bitmap image to make it convert better and/or is there a way to save directly to a jpeg file from my app. I am currenly using this:

Private Sub btnSave_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnSave.Click
'Declare variables

Dim bmp As Bitmap
Dim dlg As SaveFileDialog = New SaveFileDialog()

'Create bitmap

bmp = Hardcopy.CreateBitmap(lblImage)

'Format dialog box
dlg.Title = "Save BMP file"
dlg.InitialDirectory = "c:\"
dlg.Filter = "bmp files (*.bmp)|*.bmp|All files (*.*)|*.*"

'If user clicks "OK" then save file
If dlg.ShowDialog = DialogResult.OK Then

bmp.Save(dlg.FileName, System.Drawing.Imaging.ImageFormat.Bmp)

End If

'Disable Textbox
txtInput.Enabled = False

End Sub