home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14854 < prev    next >
Encoding:
Text File  |  1992-09-01  |  2.0 KB  |  59 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!fuug!funic!nntp.hut.fi!nntp!pxi
  3. From: pxi@lesti.hut.fi (Pekka M Salonen)
  4. Subject: Re: GetPictInfo bug with QuickTime Picts? Develop sez...
  5. In-Reply-To: mpradhan@medicine.adelaide.edu.au's message of 28 Aug 92 00:12:22 GMT
  6. Message-ID: <PXI.92Sep1231710@lesti.hut.fi>
  7. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  8. Nntp-Posting-Host: lesti.hut.fi
  9. Reply-To: pxi@vipunen.hut.fi
  10. Organization: Helsinki University of Technology, Finland
  11. References: <8350@sirius.ucs.adelaide.edu.au>
  12. Date: 1 Sep 92 23:17:10
  13. Lines: 44
  14.  
  15.  
  16. In article <8350@sirius.ucs.adelaide.edu.au> mpradhan@medicine.adelaide.edu.au (Malcolm Pradhan) writes:
  17. ...
  18. <    I have found that if the PICT is quicktime compressed (JPEG, Video)
  19. <   no palette is returned and no error is signalled from the GetPictInfo
  20. <   call - pretty frustrating.
  21.  
  22. <    The only way I can see of getting around this is to create an gworld,
  23. <   draw the compressed PICT into it and then GetPixMapInfo. Tedious and
  24. <   memory intensive!
  25.  
  26. <    Has anyone found a way of getting a clut or palette from a QT compressed
  27. <   PICT? Is this a known bug which will soon be fixed in System 7.1 and
  28. <   QT 1.5? :-)
  29.  
  30. <   Regards
  31. <   Malcolm
  32.  
  33. In Mac Q&A in develop issue 11 this was discussed, here's a quote:
  34.  
  35. "Q Is it my imagination, or does GetPictInfo return a bit depth of 1 on 
  36. QuickTime compressed PICT files?
  37.  
  38. A Yep! This is what's happening: The Picture Utilities Package doesn't know of 
  39. the QuickTime Compressed Pixmap opcode (0x8200), so it just skips over the 
  40. opcode's data; then it finds the PackBitRect opcode containing the 
  41. black-and-white pseudo-alert that you get when you draw the picture on a 
  42. machine that doesn't have QuickTime installed, and GetPictInfo reports back 
  43. this alert.
  44.  
  45. Trivia: When QuickTime is installed, it displays the compressed image and 
  46. then ignores the following PackBitRect since QuickTime knows it's only 
  47. the black-and-white alert."
  48.  
  49. Reprinted here sans permission, don't think anybody will mind.
  50. So this is a known thingie. That's all I know.
  51.  
  52.     pekka
  53.  
  54.  
  55.  
  56.  
  57. --
  58. ha!
  59.