save-png.h 237 B

123456789101112
  1. #pragma once
  2. #include "../core/Bitmap.h"
  3. namespace msdfgen {
  4. /// Saves the bitmap as a PNG file.
  5. bool savePng(const Bitmap<float> &bitmap, const char *filename);
  6. bool savePng(const Bitmap<FloatRGB> &bitmap, const char *filename);
  7. }