home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14169 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!netcomsv!proto!joe
  3. From: joe@proto.com (Joe Huffman)
  4. Subject: Re: BGI and PCX
  5. Organization: FlashTek, Inc.
  6. Date: Sun, 24 Jan 1993 20:56:23 GMT
  7. Message-ID: <1993Jan24.205623.15243@proto.com>
  8. References: <davisrj.727563884@signal.ece.clarkson.edu>
  9. Lines: 17
  10.  
  11. davisrj@signal.ece.clarkson.edu (Roy J. Davis) writes:
  12.  
  13. >    I've been doing a little graphics programming with the Borland BGI
  14. >    interface using 16 color, 4 plane PCX files.  I've had no problems
  15. >    decoding the image but have not been able to get the palette
  16. >    correct.  I've been trying to use setrgbpalette() with the palette
  17. >    values from the PCX file.  What am I doing wrong?
  18.  
  19. >    Will I also have this problem when I try doing the same thing with
  20. >    the 256 color files?
  21.  
  22. The BGI palette setting functions are 'broken' as designed IMHO.  Try setting
  23. the palette yourself or purchasing a commerial library that is well 
  24. supported.
  25. -- 
  26. netcom!proto!joe
  27. joe@proto.com
  28.