/* Show the filtertypes of each scanline in this PNG image.  */
void displayFilterTypes(Data &data, const Options &options)
/* Show the filtertypes of each scanline in this PNG image.  */
void displayFilterTypes(Data &data, const Options &options)
{
    std::cout << "Error getting filter types" << std::endl;
    return;
  }
  if(types.size() == 7) {
    std::cout << "Filter types (Adam7 interlaced):" << std::endl;
    for(int j = 0; j < 7; j++) {
      std::cout << " Pass " << (j + 1) << ": ";
      for(size_t i = 0; i < types[j].size(); i++) {
        std::cout << (int)(types[j][i]);
      }
      std::cout << std::endl;
    }
  } else {
    std::cout << "Filter types: ";
    for(size_t i = 0; i < types[0].size(); i++) {
      std::cout << (int)(types[0][i]);
    }
    std::cout << std::endl;
  }
}