I orignally used the following method to save (to disk) the image inside a picture box -
SavePicture picShowImage.Image, App.Path + "\New.bmp"
and then use -
BmpToJpeg App.Path + "\mypageNew.bmp", App.Path + "\mypageNew.jpg", 100
Kill App.Path + "\mypageNew.bmp"
Where BmpToJpeg is a DLL, created by Miroslav Milak? - I downloaded from a site, but I forget which one.
I am getting an error when I save the jpg to a bmp, I think because the resultant bmp is quite large.
I have tried the Intel® JPEG Library v1.51 and it works fine - no error even with large jpg. But I want to draw some text on the jpg and then save the new jpg with this text written on it. Has anyone worked with the Intel® JPEG Library v1.51 and how to draw text on top of the image in the picbox and then save the new jpg with this text included?