Now supporting more dib headers to read

This commit is contained in:
Leonetienne
2022-03-06 02:08:34 +01:00
parent 4cb9c6d65d
commit f279ffb50f
2 changed files with 10 additions and 27 deletions

View File

@@ -12,7 +12,6 @@ namespace Leonetienne::BmpPP {
return;
}
BMP::BMP(const std::string &filename) {
if(!Read(filename))
throw std::runtime_error("Unable to read bmp image!");