home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!news.cs.indiana.edu!babbage.ece.uc.edu!uceng.uc.edu!rbatra
- From: rbatra@uceng.uc.edu (Rajesh Batra)
- Subject: Help reading particular Pixels
- Message-ID: <BzvIv4.G2o@uceng.uc.edu>
- Organization: University of Cincinnati
- Distribution: na
- Date: Sat, 26 Dec 1992 15:54:39 GMT
- Lines: 26
-
-
- Hi,
-
- I'm attempting to copy only certain pixels from my bitmap. Once
- copied, I stamp them down one pixel to the left. I need this to
- be done fast, so readpixel() / writepixel() wasn't doing the trick.
-
- I am trying to use
-
- BltMaskBitMapRastPort(...,minterm,bltMask),
-
- where minterm is 0xc0 (exact copy) and my bltMask contains only 1's
- where I want to read the information. Basically, I went into DPaint,
- created a 2 bitplane brush containing my points placed the data
- into an array by using one of the many iff to C source programs.
-
- Is the logistics correct? I'm not getting what I anticipated.
- Is there a faster way to copy only certain pixels (272 of them)?
-
-
- Thank you for your time,
-
- Rajesh Batra
- Dept. of Aerospace Engineering
- University of Cincinnati
- rbatra@uceng.uc.edu
-