rollback unneeded, extra way of specifying color reduction
This commit is contained in:
parent
95b22e1292
commit
e387a3ba68
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue