fixed inpainting example so doesn't need PIL