home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!wupost!gumby!destroyer!terminator!krk
- From: krk@itl.itd.umich.edu (Kenneth Knight)
- Subject: Search procs and 8 bit graphics
- Message-ID: <1992Sep11.014006.15063@terminator.cc.umich.edu>
- Sender: news@terminator.cc.umich.edu (Usenet Owner)
- Organization: Instructional Technology Laboratory, University of Michigan
- Date: Fri, 11 Sep 1992 01:40:06 GMT
- Lines: 20
-
- I asked this question a few months back and never did get an answer to it.
- With the thread on doing graphics sans QuickDraw I figured I'd ask again
- (though the need for an answer is no longer immediate - but still)....
-
- I had a graphics program that was designed to allow the user to compress
- various regions of a picture using various compression techniques. The
- program also had some image editing features including color-remapping, dimming
- , inversion, and other stuff. I coded many of these things using QuickDraw
- search procs and then would let CopyBits do all the work when it called my
- installed search procs. This worked wonderfully if the graphic's worlds
- were 32-bit deep (direct mapped since the PM doesn't apply to those), it
- did not work on 8-bit worlds though. WIth 8-bit worlds the CopyBits would
- act just as if there was no search proc installed even though there most
- definitely was. Can anyone explain why the search procs worked on one type
- of GWorld and not the other (all the manipulation was done off-screen.
- Anything that appeared on screen was post-image-fiddling)?
-
- ** Ken **
- krk@itl.itd.umich.edu
-
-