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