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