mirror of https://github.com/Chlumsky/msdfgen.git
15 lines
411 B
C++
15 lines
411 B
C++
|
|
#pragma once
|
|
|
|
#include "../core/BitmapRef.hpp"
|
|
|
|
namespace msdfgen {
|
|
|
|
/// Saves the bitmap as a PNG file.
|
|
bool savePng(const BitmapConstRef<byte, 1> &bitmap, const char *filename);
|
|
bool savePng(const BitmapConstRef<byte, 3> &bitmap, const char *filename);
|
|
bool savePng(const BitmapConstRef<float, 1> &bitmap, const char *filename);
|
|
bool savePng(const BitmapConstRef<float, 3> &bitmap, const char *filename);
|
|
|
|
}
|