aboutsummaryrefslogtreecommitdiff
path: root/src/BMPImage.h
blob: 52db0b10d47c10f15e715251942b5344da62c9b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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) { }
	BMPImage(const Image& other) : Image(other) {}
	
	int readFromFile(std::string filename) override;
	int writeToFile(std::string filename) override;
};