4#ifndef MRIOEXTRAS_NO_PNG
19MRIOEXTRAS_API Expected<Image>
fromPng(
const std::filesystem::path& path );
20MRIOEXTRAS_API Expected<Image>
fromPng( std::istream& in );
28MRIOEXTRAS_API Expected<void>
toPng(
const Image& image,
const std::filesystem::path& path );
29MRIOEXTRAS_API Expected<void>
toPng(
const Image& image, std::ostream& os );
MRIOEXTRAS_API Expected< Image > fromPng(const std::filesystem::path &path)
loads from .png format
MRIOEXTRAS_API Expected< void > toPng(const Image &image, const std::filesystem::path &path)
saves in .png format
Definition MRCameraOrientationPlugin.h:8