Reading data from a png file in node