Save Pictures as "JPG" & not "BMP" !!!
Posted on 2006-04-30
i am making a project in VB that takes snapshots from a Camera & puts them in a Picture Box ...
then, i am using this code in order to save the picture on my PC :
SavePicture Picture1.Image, App.Path & "\ImageN" & X + 1 & ".BMP"
but the problem with me is that the pictures can only be saved as ".BMP" files, even though i replace the ".BMP" extension, from the end on the code, with the ".JPG" extension (the pictures' size remain the same) !!!
i need a way or a code, that let me save the pictures as ".JPG" (with as low as image size)
i am doing so, because the size of the pictures that are saved is too large for my Application (i need to transfer them through the Modem)
Need ur Comments as fast as possible ;)