nxt/png.hpp file

Namespaces

namespace nxt
namespace nxt::png

Classes

struct nxt::png::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.