gregwong@maui.cs.ucla.edu.CS.UCLA.EDU (07/09/88)
I don't subscribe to this news group, and I doubt if everyone wants to read the reply to my question. So, I ask that you send your replies to me via e-mail. Thanks. I'm using Lightspeed C v2.01 to write a graphics application. I've saved a series of Quickdraw commands in a Picture structure using OpenPicture etc. Could someone send me some C code showing me how to save the picture into a PICT file that SuperPaint or MacDraw can understand? I suppose that I'm supposed to to use FSWrite, but SuperPaint complains that it can't read the PICT file. Please help. Thanks. --Greg "I love airplane noise." gregwong@maui.cs.ucla.edu
nicky@cup.portal.com (07/10/88)
Apple has published a lot of documentation on PICT files since color capability came, (i.e. Mac II). There are several Tech Notes on it too I believe. However, all you need to do is to write out a 512 byte header of all zeroes and then write out the Picture. Make sure the file type is PICT of course. -nicky