home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15469 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.2 KB  |  43 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!dkuug!imada!breese
  3. From: breese@imada.ou.dk (Bjoern Reese)
  4. Subject: Need to know about 24 bit graphics format
  5. Message-ID: <1992Nov6.112438.10885@imada.ou.dk>
  6. Keywords: 24 bit
  7. Sender: news@imada.ou.dk (USENET News System)
  8. Organization: Dept. of Math. & Computer Science, Odense University, Denmark
  9. Date: Fri, 6 Nov 1992 11:24:38 GMT
  10. Lines: 31
  11.  
  12.  
  13. Hi there.
  14.  
  15. Could someone please explain the format of 24 bit graphics
  16. to me, and how it relates to the other graphic modes on
  17. the Amiga.
  18.  
  19. I know just about everything about the bitmaps and how
  20. they work (ie. lowres, hires, (non-)interlaced, ham.)
  21.  
  22. I assume that each pixel in a 24 bit format consists of
  23. a longword (32 bits) which is represented as:
  24.  
  25.      $ xxRRGGBB
  26.  
  27. where x = don't care
  28.       R = Red
  29.       G = Green
  30.       B = Blue
  31.  
  32. What I am really interested in is, besides information
  33. about the 24 bit format, how I can convert between the
  34. 24 bit mode and the bitmap modes. Examples in C or
  35. Assembly Language are very welcome.
  36.  
  37. Thanks in advance.
  38.  
  39. --
  40.  
  41. Bjoern Reese                   |     Email: breese@imada.ou.dk
  42. Odense University, Denmark     |     Voice: +45 65 932 182 (private)
  43.