#include <MRCMisc/exports.h>Go to the source code of this file.
Functions | |
| MRC_API MR_expected_void_std_string * | MR_RasterSave_toAnySupportedFormat (const MR_Raster *raster, const char *path, const char *path_end, const MR_RasterSaveSettings *settings) |
| MRC_API MR_expected_void_std_string * MR_RasterSave_toAnySupportedFormat | ( | const MR_Raster * | raster, |
| const char * | path, | ||
| const char * | path_end, | ||
| const MR_RasterSaveSettings * | settings ) |
detects the format from file extension and saves the raster in it Generated from function MR::RasterSave::toAnySupportedFormat. Parameter raster can not be null. It is a single object. Parameter path is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.