Libpng reading texts