Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Screen Capture Using C
Hello Everyone,
This may be sort of a newbie question and I realize that it is
probably frontend specifc.  Assuming that there is a desktop
environment I would like to be able to grab a screen scrap using a C
program.  The code that works for OS X is as follows:

PixMap pixMap;
GetQDGlobalsScreenBits((BitMap*)&pixMap);

if anyone knows the answer to this questions or where I could find unix
based c documentation I would greatly appreciate it.
Best, Andrew


Report this thread to moderator Post Follow-up to this message
Old Post
alr288@psu.edu
04-12-05 08:58 AM


Re: Screen Capture Using C
alr288@psu.edu wrote:
> Hello Everyone,
>   This may be sort of a newbie question and I realize that it is
> probably frontend specifc.  Assuming that there is a desktop
> environment I would like to be able to grab a screen scrap using a C
> program.  The code that works for OS X is as follows:
>
>     PixMap pixMap;
>     GetQDGlobalsScreenBits((BitMap*)&pixMap);
>
> if anyone knows the answer to this questions or where I could find unix
> based c documentation I would greatly appreciate it.
> Best, Andrew
>
Basically, XGetImage.

For details, look in the source code for xwd (part of the X11R6
distribution; http://www.x.org)

--
Michel Bardiaux
Peaktime Belgium S.A.  Bd. du Souverain, 191  B-1160 Bruxelles
Tel : +32 2 790.29.41

Report this thread to moderator Post Follow-up to this message
Old Post
Michel Bardiaux
04-12-05 01:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:05 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.