wand
wand copied to clipboard
PIL compatibility layer
See also the roadmap:
PIL has very long history and the most of Python projects still depend on it. We will work on PIL compatiblity layer using Wand. It will provide two ways to emulate PIL:
Module-level compatibility which can be used by changing
import
:try: from wand.pilcompat import Image except ImportError: from PIL import Image
Global monkeypatcher which changes
sys.modules
:from wand.pilcompat.monkey import patch; patch() import PIL.Image # it imports wand.pilcompat.Image module
So, what features does Wand lack while PIL provides?
- [ ]
Image.getbands()
- [ ]
Image.getbox()
- [ ]
Image.getextrema()
- [ ]
Image.getprojection()
- [ ]
Image.split()
TBF