home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / tcl / 1902 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.8 KB  |  50 lines

  1. Newsgroups: bnr.lang.tcl,comp.lang.tcl
  2. Path: sparky!uunet!portal!ntmtv!corpgate!bnrgate!bcars267!scoob
  3. From: scoob@bnr.ca (Christian Marcotte)
  4. Subject: Re: couldn't allocate a color for "#ffe4c4"
  5. Message-ID: <1992Nov20.053337.7511@bnr.ca>
  6. Sender: news@bnr.ca (usenet)
  7. Nntp-Posting-Host: cooma
  8. Organization: Bell-Northern Research, Ontario, Canada
  9. References: <1992Nov17.232609.8803@bnr.ca> <1992Nov19.151729.29092@bmerh85.bnr.ca>
  10. Distribution: bnr
  11. Date: Fri, 20 Nov 1992 05:33:37 GMT
  12. Lines: 36
  13.  
  14. In article <1992Nov19.151729.29092@bmerh85.bnr.ca> mpm@bmerh504.bnr.ca (Mike Mogridge) writes:
  15. >
  16. >You say you're using a very colourful background, could it be that all the
  17. >colour table entries have been allocated; try using a less colourful background
  18. >and see if that solves the problem.
  19. >
  20. >Mike.
  21.  
  22.  
  23. Well I guess I have not been clear in my initial posting.
  24.  
  25. The trouble I have experienced was when I had a very colorful bitmap image
  26. on my root window.  Of course this spells out color table full.
  27.  
  28. Still, you don't expect ANY application to fail because it cannot allocate
  29. the color it wants...  (Imagine trying to start frameker and it tells you:
  30. sorry but the blue I want is not available... ABORT).
  31.  
  32. I am looking for a way to detect this before the error and be able to select
  33. a color that is available OR force my color in the color table.
  34.  
  35. I hope that I clarified enough.
  36.  
  37.  
  38. BTW: Naturally, changing the colorful bitmap (251 colors) to a more moderate
  39.      one (typically switching from a photography to a cartoon drawing) will
  40.      fix the problem but this is NOT an acceptable solution.
  41.  
  42. -- scoob
  43.  
  44.  
  45. -- 
  46. ---------------------------------------------------------------------------
  47. Christian Marcotte                Bell-Northern Research
  48. scoob@bnr.ca                      3500 Carling Ave
  49. Telephone: (613) 763-2782         Nepean, Ont., Canada K1Y 4H7
  50.