(sample/pillow): add sample code.