home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!fuug!funic!nntp.hut.fi!nntp!pxi
- From: pxi@lesti.hut.fi (Pekka M Salonen)
- Subject: Re: GetPictInfo bug with QuickTime Picts? Develop sez...
- In-Reply-To: mpradhan@medicine.adelaide.edu.au's message of 28 Aug 92 00:12:22 GMT
- Message-ID: <PXI.92Sep1231710@lesti.hut.fi>
- Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
- Nntp-Posting-Host: lesti.hut.fi
- Reply-To: pxi@vipunen.hut.fi
- Organization: Helsinki University of Technology, Finland
- References: <8350@sirius.ucs.adelaide.edu.au>
- Date: 1 Sep 92 23:17:10
- Lines: 44
-
-
- In article <8350@sirius.ucs.adelaide.edu.au> mpradhan@medicine.adelaide.edu.au (Malcolm Pradhan) writes:
- ...
- < I have found that if the PICT is quicktime compressed (JPEG, Video)
- < no palette is returned and no error is signalled from the GetPictInfo
- < call - pretty frustrating.
-
- < The only way I can see of getting around this is to create an gworld,
- < draw the compressed PICT into it and then GetPixMapInfo. Tedious and
- < memory intensive!
-
- < Has anyone found a way of getting a clut or palette from a QT compressed
- < PICT? Is this a known bug which will soon be fixed in System 7.1 and
- < QT 1.5? :-)
-
- < Regards
- < Malcolm
-
- In Mac Q&A in develop issue 11 this was discussed, here's a quote:
-
- "Q Is it my imagination, or does GetPictInfo return a bit depth of 1 on
- QuickTime compressed PICT files?
-
- A Yep! This is what's happening: The Picture Utilities Package doesn't know of
- the QuickTime Compressed Pixmap opcode (0x8200), so it just skips over the
- opcode's data; then it finds the PackBitRect opcode containing the
- black-and-white pseudo-alert that you get when you draw the picture on a
- machine that doesn't have QuickTime installed, and GetPictInfo reports back
- this alert.
-
- Trivia: When QuickTime is installed, it displays the compressed image and
- then ignores the following PackBitRect since QuickTime knows it's only
- the black-and-white alert."
-
- Reprinted here sans permission, don't think anybody will mind.
- So this is a known thingie. That's all I know.
-
- pekka
-
-
-
-
- --
- ha!
-