MeshLib Documentation
Loading...
Searching...
No Matches
MRJpeg.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::fromJpeg (const std::filesystem::path &path)
 loads from .jpg format
 
MRIOEXTRAS_API Expected< ImageMR::ImageLoad::fromJpeg (std::istream &in)
 
MRIOEXTRAS_API Expected< ImageMR::ImageLoad::fromJpeg (const char *data, size_t size)
 
MRIOEXTRAS_API Expected< void > MR::ImageSave::toJpeg (const Image &image, const std::filesystem::path &path)
 saves in .jpg format