[comp.sys.mac.programmer] PICT file from grafport code requested

bwb@andante.UUCP (Bruce Ballard) (11/04/89)

Could someone post or email code to create a PICT file from the
currently active grafport, i.e. either the active window
or an offscreen bitmap? I've been doing this for months
but I recently bought PageMaker and noticed that some
of my resized imported PICTs don't display at all. Maybe
it has to do with the clipRgn, or with color? I'm assuming
that the basic call is CopyBits within an OpenPicture/ClosePicture,
preceded by the 512 byte header. Did I miss something?
Thanks in advance.
-bruce ballard
bwb@allegra.att.com