Program © 2000-2024 Guillaume Dargaud.
Free use and distribution.
Last updated on 2021/11/05
"Remember when... ? A computer was something on TV from a science fiction show. A window was something you hated to clean and RAM was the cousin of a goat... Meg was the name of my girlfriend and gig was your middle finger upright. Now they all mean different things and that really mega bytes. An application was for employment. A program was a TV show. A cursor used profanity. A keyboard was a piano. Memory was something that you lost with age. A CD was a bank account. And if you had a 3 1/2" floppy you hoped that nobody found out. Compress was something you did to the garbage not something you did to a file. And if you unzipped anything in public you'd be in jail for awhile. Log on was adding wood to the fire. Hard drive was a long trip on the road. A mouse pad was where a mouse lived and a backup happened to your commode. Cut you did with a pocket knife. Paste you did with glue. A web was a spider's home and a virus was the flu. I guess I'll stick to my pad and paper and the memory in my head. I hear nobody's been killed in a computer crash but when it happens they wish they were dead !"
This is a small utility for unattended screen capture that I use on computers doing real-time acquisition. It takes a snapshot of the screen (or of the currently active window) and saves it to a PNG file. I can then display the PNG file in a browser for web access or archive them for later review.
In other words, this is a screen-capture utility that is designed to be left unattended and to take screen shots at regular intervals.
PNG files (Portable Network Files) uses a lossless compression algorithm and are compatible with IE4, IE5, NS4 and any halfway decent graphic program. PNG files can be B&W, greyscale, 2, 4, 8, 16 bits RGB and can have an optional alpha layer. The files produced by this program are 24bit RGB without alpha layer. PNG is a public domain format and the C source code can be found at the LIBPNG site.
The program options are saved in the registry and saved from one run to another, allowing you to call the program from the [Start][Programs][StartUp] folder.
Program options are:
Warning 1: the program uses the clipboard as a temporary holder for the image, you should not use cut and paste operations while this program is running !!! It is meant to be used on a PC without user. This is not a bug, but a feature... as I did not find a cleaner solution... Sorry.
Warning 2: this program works only on 16/24/32 bits graphic cards. It will not work on a paletted mode (256 colors or less). I have no plan to change that.
Warning 3: this program will not normally record the image taken by most webcams, video players or DVD players. The reason is that those programs send the image directly to the graphic card and there's no trace of it in the video memory. You need to use a special video capture program for that purpose. Or you can do the following simple workaround: right-click your desktop, [Properties][Settings][Advanced][Troubleshoot] and disable the hardware acceleration by dragging it all the way to the left. Now you can make screen grabs of video outputs.
Warning 4: this program is not intended to be used as a user-activity spying program, as it is not hidden in any way and will interfere with the user rather obnoxiously.
Note: PNG code based on LIBPNG public library http://www.cdrom.com/pub/png/.
LIBPNG uses the ZLIB library http://www.cdrom.com/pub/infozip/zlib/zlib.html.
This freeware written with LabWindows/CVI.