Is it possible.....
I wish to make a program that takes a screen shot every 20-30 seconds and save the file in a certian directory constantly replacing the last screen shot.
This is meant as a test for a web page where each time the person loads my screen shot it will be in real time and show what I am doing.
I know this has been done quite easily in scripting but I was wondering if somene can give me some hints for c or c++, to take a screen shot from the console is import command but I need to still heck that out.
a simple hack would be like
in your program try this
system("import window /filename.png");
or exec see the manual for more
just another questions those screenshots are *.bmp correct? so how are you going to make them smaller and into *.jpg?
my screenshiots on this box are huge! 2.5 mb bitmaps!
it's .png not .bmp it's quite smaller and moreover rtfm for more options