1 A red line function sets specific pixels in a 200x200 subset of an image's data array to red, using the pixel index as input, but the visual change is not immediately reflected on screen.
“what this function is going to do is it's going to find the image name part and get its data array, and then for I from 0 to 199, it's going to set the pixel II to the input value, which in this particular case happens to be red, which is why it's called red line.”