home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.next.misc:19176 comp.sys.next.programmer:5903
- Path: sparky!uunet!cs.utexas.edu!rutgers!micro-heart-of-gold.mit.edu!news.media.mit.edu!news
- From: mike@media-lab.mit.edu (Michael Hawley)
- Newsgroups: comp.sys.next.misc,comp.sys.next.programmer
- Subject: looking at the bits in video frames (3.0 NeXT Dimension)
- Message-ID: <1992Sep1.033025.7164@news.media.mit.edu>
- Date: 1 Sep 92 03:30:25 GMT
- Sender: news@news.media.mit.edu (USENET News System)
- Reply-To: mike@media-lab.mit.edu
- Organization: MIT Media Laboratory
- Lines: 17
-
- Has anyone got a convenient and efficient way to get at
- the bits in grabbed video frames (on a NeXT Dimension under 3.0)?
-
- The problem is this: when you grab the frame, you get an
- image with representation NXCachedImageRep, which presumably
- somewhere has a pointer to the raw image in NeXTDimension memory.
- There are no methods to directly read this data, although you
- can draw it out to another view. I tried compositing the
- NXCachedImageRep image into a newly allocated image with
- an NXBitmapImageRep (a TIFF), but the latter was converted
- to an NXCachedImageRep!
-
- What I would like to do is simply get my hands on the pixel array
- that underlies the NXCachedImageRep of a grabbed frame,
- without copying and converting the whole frame.
-
- Thanks for any leads.
-