A bit more png reading code..