insightdock::charts::write_png

Write an RGBA buffer to a PNG file.

Synopsis

Declared in <insightdock/png_writer.h>
[[visibility]]
bool
write_png(
    std::string const& path,
    ImageBuffer const& img);

Return Value

true on success.

Parameters

Name Description
path Output file path.
img Source buffer.

Created with MrDocs