'Drawing an image by pixel by pixel in Python
I want to create a painter in tkinter And I want there to be an option to upload a picture to draw so that it will be uploaded in line-by-line form That is to say we have a rectangle that is made up of 2 lines that each line has 4 pixels So on the painting canvas it will be possible to see how the image is constructed on the canvas so that it fills line by line when one line fills in 4 pixels The second row begins to fill up Until the image of the rectangle is created Intended to create a list of all the colors of the pixels of the image And build it on the canvas So that while running it will be possible to see how the image is constructed Is there such an option? Do you have any idea what code could do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
