def get_pil_version():
    """Get the PIL/Pillow version, or None if it is unavailable.
    """
    try:
        __import__('PIL', fromlist=[str('Image')])
        return 0,
    except ImportError:
        return None
