Allow use PIL or Pillow