depend on Pillow if neither Pillow nor PIL is installed