Fixed compile error in PngFormat class.