title: Why does Pillow not recognize the JPEG format?
body: <p>Trying out this simple code to write text on an image:</p>
  
  <pre><code>import ImageFont
  import Image
  import ImageDraw
  
  font = ImageFont.truetype("arial.ttf", 16)
  img=Image.new("RGB", (200,200),(120,20,20))
  draw = ImageDraw.Draw(img)
  draw.text((0, 0),"This is a test",(255,255,0),font=font)
  draw = ImageDraw.Draw(img)
  
  img.save("C:/Users/User/Desktop/test","jpeg")
  </code></pre>
  
  <p>and I get this error: </p>
  
  <pre><code>File "C:\Users\User\Anaconda\lib\site-packages\PIL\Image.py", line 1456, in save  
     save_handler = SAVE[format.upper()] # unknown format
  KeyError: 'JPEG'
  </code></pre>
  
  <p>Any idea of how to fix this? I am using Python 2.7.5 Anaconda version in Windows 7 with Eclipse Kepler and PyDev plugin. I also tried <code>img.save("test.jpeg")</code> and <code>img.save("test.png")</code> resulting in the same error.</p>