MeshLib C Docs
Loading...
Searching...
No Matches
MRImageLoad.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_expected_MR_Image_std_string MR_expected_MR_Image_std_string
 

Functions

MRC_API MR_expected_MR_Image_std_stringMR_ImageLoad_fromAnySupportedFormat (const char *path, const char *path_end)
 

Typedef Documentation

◆ MR_expected_MR_Image_std_string

Function Documentation

◆ MR_ImageLoad_fromAnySupportedFormat()

MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromAnySupportedFormat ( const char * path,
const char * path_end )

detects the format from file extension and loads image from it Generated from function MR::ImageLoad::fromAnySupportedFormat. Parameter path is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Image_std_string_Destroy() to free it when you're done using it.