MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTiffIO.h File Reference
#include "MRMeshFwd.h"
#include "MRExpected.h"
#include "MRVector2.h"
#include <filesystem>
#include <string>

Go to the source code of this file.

Classes

struct  MR::BaseTiffParameters
struct  MR::TiffParameters
struct  MR::RawTiffOutput
struct  MR::WriteRawTiffParams

Namespaces

namespace  MR
 only for bindings generation

Functions

bool MR::isTIFFFile (const std::filesystem::path &path)
 returns true if given file is tiff
Expected< TiffParametersMR::readTiffParameters (const std::filesystem::path &path)
 reads parameters of tiff file
Expected< void > MR::readRawTiff (const std::filesystem::path &path, RawTiffOutput &output)
 load values from tiff to ouput.data
Expected< void > MR::writeRawTiff (const uint8_t *bytes, const std::filesystem::path &path, const WriteRawTiffParams &params)
 writes bytes to tiff file
Expected< void > MR::writeRawTiff (const uint8_t *bytes, const std::filesystem::path &path, const BaseTiffParameters &params, const AffineXf3f *xf)