Path: utzoo!attcan!uunet!mailrus!cs.utexas.edu!swrinde!ucsd!ames!dftsrv!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: {Bit,Pix}Maps in PICT files Keywords: BitMaps PixMaps PICT Message-ID: <1990Jun8.205052.16133@eng.umd.edu> Date: 8 Jun 90 20:50:52 GMT References: <2529@network.ucsd.edu> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 21 In article <2529@network.ucsd.edu> rmorgan@network.ucsd.edu (Robert Morgan) writes: > Q1: > Is it possible to have a BitMap in a version 2 PICT ? > The documentation seems to imply that PixMaps replace BitMaps in > version 2 PICT files, but I wanted to make sure... Short Answer: Yes Long Answer: IM V-104, note 4 (the stuff you mention in Q2) > Q2: > IM V page 104 seems to say that the high bit of rowBytes tells you this, > but in the same paragraph they say that "In general, the difference > between version 1 and version 2 formats is that the pixMap replaces > the bitMap..." So, can I just check the PICT version instead of > the high bit of rowBytes ? No, ignore that phrase. I'm pretty sure that if a copybits of a 1-bit bitmap to a grafport is done while a picture is open, you will get a bitmap in the picture, and not a pixmap. Even if this isn't true, its much safer to assume it is. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions?