home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18024 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  3.3 KB

  1. Xref: sparky comp.sys.mac.programmer:18024 comp.multimedia:3242
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!concert!rutgers!network.ucsd.edu!sdcc12!euclid!sakelley
  3. From: sakelley@euclid.ucsd.edu (Scott Kelley)
  4. Newsgroups: comp.sys.mac.programmer,comp.multimedia
  5. Subject: QuickTime and Fast Dithering
  6. Message-ID: <40577@sdcc12.ucsd.edu>
  7. Date: 5 Nov 92 01:26:34 GMT
  8. Sender: news@sdcc12.ucsd.edu
  9. Followup-To: comp.sys.mac.programmer
  10. Lines: 57
  11. Nntp-Posting-Host: euclid.ucsd.edu
  12.  
  13. I'm doing a project in MacroMind Director that also uses QuickTime.
  14. Since Director's built in support for QuickTime isn't sufficient for our
  15. needs, I've beed writing XObjects (Director's version of XCMD's) to play
  16. back movies and still images. We want to store stills and video clips at
  17. 24-bit color and then have them "dither down nicely" for display on
  18. 8-bit systems.
  19.  
  20. Here's the problem I'm having: by default, QuickTime is displaying
  21. everything using it's "fast dither" algorithm. This is fine for video
  22. clips, but for still images (JPEG), we'd like to do a little better.
  23. According to the QT 1.0 developer's guide, page 3-20:
  24.  
  25.    "Apple decompressors use fast dithering when copying from image band
  26.    buffers to 8-bit destinations. If the accuracy for decompression is
  27.    above normal, then the decompressors use true error diffusion rather
  28.    than fast dithering."
  29.  
  30. Does this imply that QT will ALWAYS use fast dithering to an 8-bit
  31. destination, or is it possible to bump up the "accuracy" setting for
  32. playback to get better results? If so, how can I set this accuracy
  33. setting? This setting is NOT the "temporal/spatial quality" setting;
  34. I've tried setting those high and low and I always get the fast dither.
  35. I have found a couple of functions in the movie toolbox (like
  36. SetMediaQuality) and in the image compression manager
  37. (SetDSequenceAccuracy) that seemed to imply (I hope) that I could
  38. specify that I wanted high quality just before I started playback, and
  39. that I would get what I want. But I haven't been able to sort out the
  40. details well enough to actually try it yet.
  41.  
  42. I should also probably point out that right now I'm working with JPEG
  43. images stored as single-frame movies. This is because Director's native
  44. support for QuickTime only recognizes MooV files, so to get it to load a
  45. JPEG image, I have to store it as a movie. I could store the JPEG images
  46. as compressed PICT images and then use Director's "link to file" option
  47. for PICT's, but that doesn't work for us because it stores absolute
  48. pathname links. Eventually we will move to using all our own XObjects to
  49. talk to QuickTime, and, if necessary, I can write a separate XObject
  50. for stills.
  51.  
  52. So can anybody offer me any suggestions or advice? I'd appreciate any
  53. helpful hints anyone could offer. The people I work for are kind of
  54. pushing me to finish up with this issue and move on to other things, so
  55. the quicker I can resolve this, the better.
  56.  
  57. (One last thing: If you follow up with a post, could you email me a
  58. copy? We're in the process of upgrading our local network, so my news
  59. service will be somewhat erratic for the rest of this week.)
  60.  
  61. Thanks A Lot!
  62.  
  63. Scott
  64.  
  65. -------------------------------------------------
  66. Scott Kelley, sakelley@ucsd.edu, (619) 534-8560
  67. Multimedia Interactive Learning Laboratory (MILL)
  68. Department of Biology, UC San Diego
  69. -------------------------------------------------
  70.