diff --git a/benchmark/test_png_encoding1.cpp b/benchmark/test_png_encoding1.cpp index e8ca54e2f..f06a0ef10 100644 --- a/benchmark/test_png_encoding1.cpp +++ b/benchmark/test_png_encoding1.cpp @@ -18,7 +18,7 @@ public: std::string out; for (std::size_t i=0;idata(),actual, "png8:m=h"); + mapnik::save_to_file(im_->data(),actual, "png8:m=h:z=1"); return benchmark::compare_images(actual,expected); } void operator()() const @@ -28,7 +28,7 @@ public: std::string out; for (std::size_t i=0;idata(),"png8:m=h"); + out = mapnik::save_to_string(im_->data(),"png8:m=h:z=1"); } } };