home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
- From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
- Subject: Need Algorithm for Fast Bitmaps...
- Message-ID: <BuDA8r.HvC@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Thu, 10 Sep 1992 14:43:37 GMT
- Lines: 35
-
- Me:
- I am a good C/C++ programmer, but have never actually written a
- windows program, just messed around changing the sample code.
- I'm using MSC++ 7.00
-
- My problem:
- I have wrote a program for DOS that uses a VIGA card to capture
- a 512x512 24-bit image from VCR, converts it into 512x512x256
- PCX file and saves to disk in about 20 seconds, which took me
- a long time & a LOT of assembly !!
-
- Now, the Boss Man wants this program in Windows. I have no fear
- of programming windows, but I'm not sure how to go about it. Here's
- what I think I need to do. What I need is suggestions from you
- expert windows programmers !!
-
- -Read the VIGA data, convert it into a 256 color run length encode
- Device (??Dependat or Independant) Bitmap, instead of PCX.
- -Use a Windows function to display this image into a Window.
- -Use a Windows function to save to a file ??
-
- Also, should I use DIB, DDB, PCX, BMP or what ?
- Theres so much in the SDK for the various styles. I think I
- need to use Device Dependant Bitmaps because I will always be
- working with 512x512x256 images and I need speed, since we a
- are digitizeing a lot of these !
-
- I think I'm going to use the VIEWDIB sample code that comes with
- C 7.00 as a starting point. Is there better code to use?
-
- --
- ------------------------------------------------------------------------
- John A. Slagel "My old man used to tell me, before he left this
- j-slagel1@uiuc.edu shitty world, never chase buses or women- you
- always get left behind." -The Marlboro Man
-