Browse Source

Add from PIL import Image

master
Alexander Demidov 11 years ago
parent
commit
69965eda78
  1. 4
      resize.py

4
resize.py

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
import os, sys import os, sys
import Image
import ImageEnhance
from PIL import Image
from PIL import ImageEnhance
import argparse import argparse
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("--width", dest="width", type=int, required=True) parser.add_argument("--width", dest="width", type=int, required=True)

Loading…
Cancel
Save