updated to be compatble with latest trunk

This commit is contained in:
Artem Pavlenko 2008-01-27 15:48:42 +00:00
parent a9348db058
commit 7fec4b71fe

View file

@ -244,9 +244,9 @@ int main ( int argc , char** argv)
agg_renderer<Image32> ren(m,buf);
ren.apply();
save_to_file<ImageData32>("demo.jpg","jpeg",buf.data());
save_to_file<ImageData32>("demo.png","png",buf.data());
save_to_file<ImageData32>("demo256.png","png256",buf.data());
save_to_file<ImageData32>(buf.data(),"demo.jpg","jpeg");
save_to_file<ImageData32>(buf.data(),"demo.png","png");
save_to_file<ImageData32>(buf.data(),"demo256.png","png256");
std::cout << "Three maps have been rendered in the current directory:\n"
"- demo.jpg\n"
"- demo.png\n"