1
2#pragma once
3
4#include "BitmapRef.hpp"
5
6namespace msdfgen {
7
8/// Saves the bitmap as a BMP file.
9bool saveBmp(const BitmapConstRef<byte, 1> &bitmap, const char *filename);
10bool saveBmp(const BitmapConstRef<byte, 3> &bitmap, const char *filename);
11bool saveBmp(const BitmapConstRef<byte, 4> &bitmap, const char *filename);
12bool saveBmp(const BitmapConstRef<float, 1> &bitmap, const char *filename);
13bool saveBmp(const BitmapConstRef<float, 3> &bitmap, const char *filename);
14bool saveBmp(const BitmapConstRef<float, 4> &bitmap, const char *filename);
15
16}
17