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

}