CompuServe Thread

#Help PICT from screen

3 messages in this thread
#163064From: Wade SchuetteMar 9, 1994 4:38 AM
Can anyone point me to a way to grab a sectio of the sceen in Pascal (or C) and put it out as a PICT file on disk? Besides screen capture one-shot utilities, I mean, as I'm generating an animation that will have thousands of frames. Thanks! Wade
#163620From: Richard UngerMar 13, 1994 4:51 AM
1. Declare a variable of type BitMap (or PixMap, if you're copying in colour) 2. Call Copybits with the source as ScreenBits, and the destination your bitmap. 3. Call OpenPicture 4. Copy the bit whereever they are meant to go 5. Call ClosePicture 6. Save the picture to disk (inside mac tells how to do this, I believe it is just like saving a PICT resource, but with 512 free bytes at the beginning, or something like this 7. Next frame… If you are drawing on the screen to begin with, you can leave out the calls to copybits, but simply call OpenPicture before each framne, ClosePicture once you've drawn it and then save it and go on to the next.
#163806From: Burt JohnsonMar 14, 1994 3:12 AM
Will CameraMan do the job for you? It captures the screen in live action to a movie file. – Burt