aboutsummaryrefslogtreecommitdiff
path: root/src/BMPImage.h
blob: 651192bd11a130b1476423d65aa963964be63bd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "image.h"
#include <cstdint>
#include <cstring>

namespace TehImage
{

	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;
	};

}