aboutsummaryrefslogtreecommitdiff
path: root/src/BMPImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BMPImage.h')
-rw-r--r--src/BMPImage.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/BMPImage.h b/src/BMPImage.h
new file mode 100644
index 0000000..697c72d
--- /dev/null
+++ b/src/BMPImage.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "image.h"
+#include <cstdint>
+#include <cstring>
+
+class BMPImage : public Image
+{
+private:
+public:
+ template<std::derived_from<Image> T> BMPImage(const T& other) : Image(other) { }
+
+ int readFromFile(std::string filename) override;
+ int writeToFile(std::string filename) override;
+};