#include "config.h"
#include "exports.h"
#include <MRMesh/MRExpected.h>
#include <MRMesh/MRImage.h>
#include <filesystem>
Go to the source code of this file.
Namespaces | |
namespace | MR |
namespace | MR::ImageLoad |
namespace | MR::ImageSave |
Functions | |
MRIOEXTRAS_API Expected< Image > | MR::ImageLoad::fromPng (const std::filesystem::path &path) |
loads from .png format | |
MRIOEXTRAS_API Expected< Image > | MR::ImageLoad::fromPng (std::istream &in) |
MRIOEXTRAS_API Expected< void > | MR::ImageSave::toPng (const Image &image, const std::filesystem::path &path) |
saves in .png format | |
MRIOEXTRAS_API Expected< void > | MR::ImageSave::toPng (const Image &image, std::ostream &os) |