Python PIL Fill an image with a color outline?

I have a picture that is in PNG format with no background. What I am trying to do is fill this image with yellow onl...

How to create a 3x3 grid, using opencv2 or PILLOW. similar to TIC-TAC-TOE??

I want to generate a 3x3 grid, in which one of the 9 grids highlighted each time. so that I will get 9 different ima...