title: Using PIL or a Numpy array, how can I remove entire rows from an image?
body: <p>I would like to know how I could remove entire rows from an image, preferably based on the color of the row?</p>
  
  <p>Example:  I have an image that is 5 pixels in height, the top two rows and the bottom two rows are white and the middle row is black. I would like to know how I could get PIL to identify this row of black pixels, then,  remove the entire row and save the new image. </p>
  
  <p>I have some knowledge of python and have so far been editing my images by listing the result of "getdata" so any answers with pseudo code may hopefully be enough. Thanks.</p>