Simple single-header-only graymap (PGM/PBM) file loader. Graymaps are a great format for quick data visualization due to their simplicity (no compression) and relatively compact size. A no-frills single channel image format.
GraymapImage image; if (!image.LoadImage("test_image.pgm")) { std::cout << "Failed to load image!" << std::endl; }