Capture and Zoom in on Screen Areas, View Bmps

General Computer Utilities
Post Reply
ShirleyMSmith
Posts: 22
Joined: Tue Oct 11, 2005 5:23 am

Capture and Zoom in on Screen Areas, View Bmps

Post by ShirleyMSmith »

This program is a bmp viewer and a screen area capturing tool. It has a zoom in feature that lets you preview the upper left corner of the area of the screen to be captured, so it can be adjusted if needed. The coordinates and the dimensions of the captured area can be easily changed. The zoomed in area is limited to 4 sizes so I could share this program sooner.

This program began as part of a much bigger program. The routines were originally created to capture multiple bmps of the same area of the screen. The captured bmps were later converted to .wmf format using The GIMP, and then the .wmf pictures were used as slides for a DVD slideshow using NeroVision.

Be aware that the program doesn't prompt you if you will be overwriting another bmp file. I hadn't added the prompt because I wanted to be overwriting multiple files - reusing the filenames. After the bmps were created they were then moved to other folders.

When capturing pictures, and viewing the zoomed in on area, one thing to be aware of is, if the main window is moved, then the captured and zoomed in on area coordinates will not be updated to fit the new main window position. This is because the area to capture or zoom in on is based on the upper left position of the 'Capture Bmp' window, where the hidden graphicbox is located. Likewise if the 'Capture Bmp' window is moved, then the captured and zoomed in on areas will also change. This feature can be an advantage, in that the main window, or another program's window can be moved about, to adjust the positioning of the captured area. The main window can also be minimized and then any area on the screen can be zoomed in on, or captured, so you could even explore your desktop icons with this if you wanted to. :)

Shirley

[Edit: fixed minor bug; filedialog showed in captured image]
Attachments
CaptureArea.zip
Captures and Zooms in on Screen Areas or on a bmp loaded with the Bmp Viewer
(4.5 KiB) Downloaded 668 times
Post Reply