On 6/12/2014 7:38 AM, Gregory Ewing wrote:
Pedro Izecksohn wrote:
The Canvas' method create_line turns on at least 2 pixels. But I want
to turn
on many single pixels on a Canvas.
You could try using a 1x1 rectangle instead.
However, be aware that either of these will use quite a
lot of memory per pixel. If you are drawing a very large
number of pixels, this could cause performance problems.
Pedro, the tkinter canvas is a vector graphics canvas, not a bitmap
image canvas as in paint programs.
In that case, you might want to use a different approach,
such as creating an image and telling the canvas to display
the image.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list