Solve png reading through misc.imread