get/put a ppm from/to a linux framebuffer