read/write from Eigen to png through png++