Path: utzoo!utgpu!attcan!uunet!cbmvax!rutgers!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Saving a PICTURE to a file Keywords: PICT QuickDraw MacDraw Message-ID: <205@internal.Apple.COM> Date: 10 Nov 88 18:25:49 GMT References: <971@ccnysci.UUCP> Organization: Advanced Technology Group, Apple Computer Lines: 17 In article <971@ccnysci.UUCP> cpyang@ccnysci.UUCP (Chao Ping Yang) writes: >I have the same problem. I can save a picture to a file, but I have >trouble telling MacDraw the origin and bounding box and all that. >In fact, the whole header(512b) is ignored even though I have put You should proabably set the entire header to 0. This will tell MacDraw that is it a PICT file created by another application, and it will just default the parameters in the header. After the header is a standard Quickdraw picture, which includes the picSize and picFrame fields. -- Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 46-B Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr