Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how I can to save an area of my screen...?

Status
Not open for further replies.

rick05

Programmer
Feb 23, 2001
15
MX

Hi folks and thanks for answer me...

I did use -traditional option of g++, and it works!

mmm

I wonder if there a way of save an specific area of my screen and next can save it into a file...?

I say, I need a library or something else ?

thx.

Ricardo Rugerio.
Sun Microsystems grant-holder
 
I think it is system dependent. If Linux is used,
you can get it from frame buffer, /dev/fb0 ...
For typical X window system, I think it can be
implemented using XCopyArea. If you use gcc
on Windows, BitBlt can be used. For DJGPP,
direct access to video memory is possible.
To save captured image, freely available
JPEG compression/decompression library can
be used or simple Windows bitmap format
or other graphics format can be used.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top