* [exmpl]: write output PPM from image-display

... in debug mode