author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年07月03日 16:00:52 +0200 |
---|---|---|
committer | unknown <Maria@abbate-95206d9a.(none)> | 2012年07月03日 16:15:02 +0200 |
commit | 54816985901c2bfc286a33cd549c3aa20cd556bd (patch) | |
tree | 3c16c2537e46a1a25d9080c2bed9346ce16d6345 /agg-plot/bitmap-plot.cpp | |
parent | 7462df300def0af1c11f381a996f4ec8010e5cf8 (diff) | |
download | gsl-shell-54816985901c2bfc286a33cd549c3aa20cd556bd.tar.gz |
-rw-r--r-- | agg-plot/bitmap-plot.cpp | 2 |
diff --git a/agg-plot/bitmap-plot.cpp b/agg-plot/bitmap-plot.cpp index 2d9d16e4..c3039f15 100644 --- a/agg-plot/bitmap-plot.cpp +++ b/agg-plot/bitmap-plot.cpp @@ -38,7 +38,7 @@ bitmap_save_image_cpp (sg_plot *p, const char *fn, unsigned w, unsigned h, p->draw(can, mtx); - bool success = platform_support_ext::save_image_file (rbuf_tmp, fn); + bool success = platform_support_ext::save_image_file (rbuf_tmp, fn, gslshell::pixel_format); if (! success) st.error("cannot save image file", "plot save"); |