ofxMsdfgen/libs/msdf-atlas-gen/include/msdf-atlas-gen/image-save.h

15 lines
359 B
C++

#pragma once
#include <msdfgen.h>
#include "types.h"
namespace msdf_atlas {
/// Saves the bitmap as an image file with the specified format
template <typename T, int N>
bool saveImage(const msdfgen::BitmapConstRef<T, N> &bitmap, ImageFormat format, const char *filename, YDirection outputYDirection = YDirection::BOTTOM_UP);
}
#include "image-save.hpp"