in reply to Re: Many Rectangles in Tk
in thread Many Rectangles in Tk

Thank you very much. This sounds much like what I need. The only question is, is it absolutely necessary to have a 1x1 image for each possible color beforehand? The program is not very scaleable this way. Can Tk::Images or Tk::Photos be created on the fly by specifying the colors of the pixels (or pixel as the case may be)?

Replies are listed 'Best First'.
Re: Re: Re: Many Rectangles in Tk
by gri6507 (Deacon) on Mar 11, 2002 at 22:23 UTC
    I found the answer to this to be "yes". Tk:Photo allows me to put data in one pixel at a time. It is significantly faster, but no as fast as I thought it should be. Regardless, this is not a critical part of my emulation, so this ought to do.