Using PIL to create the gradient of the static image