rollback unneeded, extra way of specifying color reduction

This commit is contained in:
Dane Springmeyer 2010-03-12 17:00:57 +00:00
parent 95b22e1292
commit e387a3ba68

View file

@ -82,8 +82,7 @@ namespace mapnik
//all this should go into image_writer factory
if (type == "png") save_as_png(stream, image);
else if (boost::algorithm::istarts_with(type, std::string("png256")) ||
boost::algorithm::istarts_with(type, std::string("png8")) ||
boost::algorithm::istarts_with(type, std::string("png:"))
boost::algorithm::istarts_with(type, std::string("png8"))
)
{
int colors = 256;