title: Blur image with python
body: <p>I'm trying to blur the image in the pwd and then save it to a new file:</p>
  
  <pre><code>from PIL import Image 
  import glob, os
  
  size = 128, 128
  from PIL import ImageFilter
  
  for infile in glob.glob("*.jpg"):
      print "processing %s\n" % infile
      file, ext = os.path.splitext(infile)
      print " file %s, extension %s\n" % (file, ext)
      im = Image.open(infile)
      #im.thumbnail(size, Image.ANTIALIAS)
      #im.save(file + "thumb", "JPEG")
      im.filter(ImageFilter.BLUR)
      im.save(file + "blurred2", "JPEG")
  </code></pre>
  
  <p>What's saved looks exactly like the original image, however. </p>