updated to latest mapnik
This commit is contained in:
parent
7d62c229d0
commit
447b63b1c1
1 changed files with 2 additions and 2 deletions
|
@ -237,8 +237,8 @@ int main ( int argc , char** argv)
|
||||||
agg_renderer<Image32> ren(m,buf);
|
agg_renderer<Image32> ren(m,buf);
|
||||||
ren.apply();
|
ren.apply();
|
||||||
|
|
||||||
ImageUtils::save_to_file("demo.jpg","jpeg",buf);
|
save_to_file<ImageData32>("demo.jpg","jpeg",buf.data());
|
||||||
ImageUtils::save_to_file("demo.png","png",buf);
|
save_to_file<ImageData32>("demo.png","png",buf.data());
|
||||||
|
|
||||||
std::cout << "Two maps have been rendered in the current directory:\n"
|
std::cout << "Two maps have been rendered in the current directory:\n"
|
||||||
"- demo.jpg\n"
|
"- demo.jpg\n"
|
||||||
|
|
Loading…
Reference in a new issue