update the pillow array API

1 job for master in 5 minutes and 47 seconds (queued for 2 seconds)