MeshLib C++ Docs
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
 only for bindings generation
namespace  MR::ImageLoad
namespace  MR::ImageSave

Functions

Expected< ImageMR::ImageLoad::fromJpeg (const std::filesystem::path &path, bool ignoreDecompressErrors=false)
Expected< ImageMR::ImageLoad::fromJpeg (std::istream &in, bool ignoreDecompressErrors=false)
Expected< ImageMR::ImageLoad::fromJpeg (const char *data, size_t size, bool ignoreDecompressErrors=false)
Expected< void > MR::ImageSave::toJpeg (const Image &image, const std::filesystem::path &path)
 saves in .jpg format