3#if !defined( __EMSCRIPTEN__) && !defined( MRMESH_NO_TIFF )
70 float*
min{
nullptr };
71 float*
max{
nullptr };
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:8
MRMESH_API Expected< void > readRawTiff(const std::filesystem::path &path, RawTiffOutput &output)
MRMESH_API bool isTIFFFile(const std::filesystem::path &path)
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRMESH_API Expected< TiffParameters > readTiffParameters(const std::filesystem::path &path)
MRMESH_API Expected< void > writeRawTiff(const uint8_t *bytes, const std::filesystem::path &path, const BaseTiffParameters ¶ms)
ValueType
Definition MRTiffIO.h:23
int bytesPerSample
Definition MRTiffIO.h:31
enum MR::BaseTiffParameters::SampleType Unknown
bool operator==(const BaseTiffParameters &) const =default
SampleType
Definition MRTiffIO.h:15
Vector2i imageSize
Definition MRTiffIO.h:34
uint8_t * bytes
Definition MRTiffIO.h:60
float * min
Definition MRTiffIO.h:70
TiffParameters * params
Definition MRTiffIO.h:64
AffineXf3f * p2wXf
Definition MRTiffIO.h:66
bool convertToFloat
Definition MRTiffIO.h:68
float * max
Definition MRTiffIO.h:71
size_t size
Definition MRTiffIO.h:62
Vector2i tileSize
Definition MRTiffIO.h:43
bool operator==(const TiffParameters &) const =default
int layers
Definition MRTiffIO.h:44
int depth
Definition MRTiffIO.h:46
bool tiled
Definition MRTiffIO.h:42