Added tests for image reading

This commit is contained in:
Leonetienne
2022-03-06 12:08:26 +01:00
parent f279ffb50f
commit eb4fc0e964
11 changed files with 153 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ using namespace Leonetienne::BmpPP;
int main() {
/*
BMP bmp({800, 600}, Colormode::RGB);
for (int x = 0; x < 800; x++)
@@ -20,7 +20,9 @@ int main() {
);
}
*/
bmp.Write("write.bmp");
/*
BMP bmp;
@@ -32,7 +34,7 @@ int main() {
if (!bmp.Write("testwrite.bmp"))
std::cerr << "What the hell" << std::endl;
*/
return 0;
}