merged the two pnm/ppm reading function for Depth/Color into one , should have done that a long time ago :P