home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / 13329 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.4 KB

  1. Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!po.CWRU.Edu!mbc
  2. From: mbc@po.CWRU.Edu (Michael B. Comet)
  3. Newsgroups: comp.graphics
  4. Subject: Problem with Bitmaps in Microsoft QuickC for windows.
  5. Date: 3 Jan 1993 20:15:00 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 25
  8. Message-ID: <1i7hg5INNf6q@usenet.INS.CWRU.Edu>
  9. Reply-To: mbc@po.CWRU.Edu (Michael B. Comet)
  10. NNTP-Posting-Host: slc12.ins.cwru.edu
  11.  
  12.  
  13.  
  14.     I am currently working on a pic viewer for windows.  Everything
  15. is fine except after I load a large image and convert it to a bitmap
  16. with CreateBitmapIndirect() and then display it...every 100 lines or so
  17. the pixels start to shift left or right or something and I get weird
  18. banding.  
  19.  
  20.     I know my original buffer is okay as I checked it line by line
  21. during the load using the setpixel() routine.
  22.  
  23.     Does anyone know of a problem with bitmaps greater than 64K ?
  24. It works fine with 320x200 images, but for 640x480 etc... I get weird
  25. things happening to my pictures.
  26.  
  27.     ANY help would be appreciated.  If anyone knows of code or a
  28. book to handle this or if I am just doing something stupid please let me
  29. know!
  30.  
  31.  
  32. -- 
  33. +======================================================================+
  34. |  Michael B. Comet - Computer Programmer / Graphics Artist  - CWRU    |
  35. |  mbc@po.CWRU.Edu  - "IF THEN THEN THEN = ELSE ELSE ELSE = THEN"      |
  36. +======================================================================+
  37.