patch-examples_bitmap_pil_py 325 B

1234567891011
  1. $OpenBSD: patch-examples_bitmap_pil_py,v 1.1 2014/04/06 21:10:30 sthen Exp $
  2. --- examples/bitmap/pil.py.orig Sun Apr 6 19:53:10 2014
  3. +++ examples/bitmap/pil.py Sun Apr 6 19:53:14 2014
  4. @@ -1,5 +1,5 @@
  5. from pyx import *
  6. -import Image
  7. +from PIL import Image
  8. im = Image.new("RGB", (3, 1))
  9. im.putpixel((0, 0), (255, 0, 0))