aboutsummaryrefslogtreecommitdiff
path: root/src/BMPImage.h
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-04-30 01:11:11 +1200
committerDylan <boss@tehbox.org>2026-04-30 01:11:11 +1200
commitb1eeaeb1e899dab64ce7bd21611e072cbca4107c (patch)
treeb196802e2499aead4809ed4af6816b1cdcfc896d /src/BMPImage.h
parente9a32a966d49ab798a4c6f24471669fc03adb395 (diff)
downloadtehimage-b1eeaeb1e899dab64ce7bd21611e072cbca4107c.tar.gz
tehimage-b1eeaeb1e899dab64ce7bd21611e072cbca4107c.zip
feat: Started implementing BMP reading
This is so I can test PNG writing by reading a BMP and writing it to a PNG, effectively the reverse of the PNG reading testing
Diffstat (limited to 'src/BMPImage.h')
-rw-r--r--src/BMPImage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BMPImage.h b/src/BMPImage.h
index 651192b..e9da6f5 100644
--- a/src/BMPImage.h
+++ b/src/BMPImage.h
@@ -12,6 +12,7 @@ namespace TehImage
private:
public:
// template<std::derived_from<Image> T> BMPImage(const T& other) : Image(other) { }
+ BMPImage() = default;
BMPImage(const Image& other) : Image(other) {}
int readFromFile(std::string filename) override;