-
I need a way to save graphics from the clipboard (screenprints) to a designated area in a file format smaller than bmps. JPEGs are the best I can think of, but I need a way to save them when a button is pressed. We will have a mapped network drive mapped to a specific letter, the saving will need to look at a database and name it according to a series of fields. The database end is not a problem, but I need to know how we can automatically save as something other than a bmp.
Any takers?
Thanks in advance.
-
You could try something like this:
Code:
Private Sub Command1_Click()
SavePicture Clipboard.GetData, "C:\windows\desktop\test.jpg"
End Sub
HTH
-
GIF vs. JPG
JPEG's give you a lot better quality, but GIF's are a lot smaller.
-
The code is great, it is just what I was looking for, but I was wondering if there is any way to control the file size. I tried a screenprint of a 1600 desktop in jpg bmp and gif and all of them were 5.5 meg, that is pretty big and I would lke to make that as small as possible, anyone know how to make a jpeg lower quality?