How to Reduce a Picture to a Thumbnail in VB6
Visual Basic 6, or VB6, allows a wide array of computer functions, controlled via command-line interface. One of these will reduce a picture to a thumbnail. This is useful if you want to put a photo online or send a smaller version to a friend. You can customize the size of the thumbnail in VB6 to any dimensions you choose. It will save the thumbnail in the same folder as the original.
Instructions
-
-
1
Open VB6.
-
2
Drag and drop the large picture onto the VB window. This will "declare" it to the program, essentially calling it up quickly without you having the write out the long access commands.
-
-
3
Copy and paste the following into the command window (but do not hit "Enter" yet):
GetThumbnailImage (
WIDTH,
HEIGHT,
callback Image..::..GetThumbnailImageAbort,
callbackData IntPtr
) Image
-
4
Replace "WIDTH" with the desired width of your thumbnail in pixels. A standard thumbnail width is 100 pixels. This leads to a small image, but not one so small you can't make it out what it is.
-
5
Replace "HEIGHT" with the desired height of your thumbnail, in pixels. The standard size is 100 pixels.
-
6
Hit "Enter." This will create a thumbnail of the desired dimensions in the same folder as the original.
-
1