First time here? Check out the FAQ!
answered 2015-01-19 12:04:38 -0600
I am not familiar with the Python API, but drawing a coloured rectangle in a single channel image will not work properly. Try to change the image back to RGB before drawing the rectangle.