title: Use python wand to grayscale image
body: <p>I want to use the Python API binding for ImageMagick <a href="http://wand-py.org" rel="noreferrer">http://wand-py.org</a> to directly manipulate images. I am however not able to deduce from the documentation how to use a grayscale transformation. Can anybody provide information on this problem?</p>
  
  <pre><code>from wand.image import Image
  try:
    with Image(file=path) as img:
      img.grayscale() # PSEUDOCODE for my given problem
  except:
    pass
  </code></pre>