png namespace
Classes
- struct Options
Functions
-
void write(const Raster& raster,
const std::
filesystem:: path& path, const Options& options = {}) - Write a Raster as a PNG.
-
template <tui::Layout L>void write_layout(const L& layout, Size cells, const std::
filesystem:: path& path, const Options& options = {}) - Build a Raster from a Layout at the given cell size and write it.
Function documentation
void nxt:: png:: write(const Raster& raster,
const std:: filesystem:: path& path,
const Options& options = {})
#include <nxt/png.hpp>
Write a Raster as a PNG.
#include <nxt/png.hpp>
template <tui::Layout L>
void nxt:: png:: write_layout(const L& layout,
Size cells,
const std:: filesystem:: path& path,
const Options& options = {})
Build a Raster from a Layout at the given cell size and write it.