summaryrefslogtreecommitdiff
path: root/thirdparty/msdfgen/core/save-tiff.h
blob: 072cd71d50b6d22f1e9a53ec34537220a9b78a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#pragma once

#include "BitmapRef.hpp"

namespace msdfgen {

/// Saves the bitmap as an uncompressed floating-point TIFF file.
bool saveTiff(const BitmapConstRef<float, 1> &bitmap, const char *filename);
bool saveTiff(const BitmapConstRef<float, 3> &bitmap, const char *filename);
bool saveTiff(const BitmapConstRef<float, 4> &bitmap, const char *filename);

}