MeshLib Documentation
Loading...
Searching...
No Matches
MRPng.h File Reference
#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< ImageMR::ImageLoad::fromPng (const std::filesystem::path &path)
 loads from .png format
 
MRIOEXTRAS_API Expected< ImageMR::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)