remove debug prints

This commit is contained in:
Dane Springmeyer 2014-12-16 14:33:07 -05:00
parent ffe8f71008
commit b86a2d4c7e

View file

@ -194,7 +194,6 @@ struct tag_setter : public mapnik::util::static_visitor<>
inline void operator() (image_data_rgba8 const&) const
{
std::cout << "Save as RGBA" << std::endl;
TIFFSetField(output_, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_RGB);
TIFFSetField(output_, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_UINT);
TIFFSetField(output_, TIFFTAG_BITSPERSAMPLE, 8);
@ -212,7 +211,6 @@ struct tag_setter : public mapnik::util::static_visitor<>
}
inline void operator() (image_data_gray32f const&) const
{
std::cout << "Save as 32F" << std::endl;
TIFFSetField(output_, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_MINISBLACK);
TIFFSetField(output_, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_IEEEFP);
TIFFSetField(output_, TIFFTAG_BITSPERSAMPLE, 32);
@ -226,7 +224,6 @@ struct tag_setter : public mapnik::util::static_visitor<>
}
inline void operator() (image_data_gray16 const&) const
{
std::cout << "Save as Gray 16" << std::endl;
TIFFSetField(output_, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_MINISBLACK);
TIFFSetField(output_, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_UINT);
TIFFSetField(output_, TIFFTAG_BITSPERSAMPLE, 16);
@ -241,7 +238,6 @@ struct tag_setter : public mapnik::util::static_visitor<>
}
inline void operator() (image_data_gray8 const&) const
{
std::cout << "Save as Gray 8" << std::endl;
TIFFSetField(output_, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_MINISBLACK);
TIFFSetField(output_, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_UINT);
TIFFSetField(output_, TIFFTAG_BITSPERSAMPLE, 8);