Pillow compatible imports.