MeshLib C# Docs
Loading...
Searching...
No Matches
MR.ImageLoad Class Reference

Static Public Member Functions

static unsafe MR.Image fromJpeg (string path, bool? ignoreDecompressErrors=null)
 loads from .jpg format
 
static unsafe MR.Image fromJpeg (MR.Std.Istream in_, bool? ignoreDecompressErrors=null)
 Generated from function MR.ImageLoad.fromJpeg. Parameter ignoreDecompressErrors defaults to false.
 
static unsafe MR.Image fromJpeg (byte? data, ulong size, bool? ignoreDecompressErrors=null)
 Generated from function MR.ImageLoad.fromJpeg. Parameter ignoreDecompressErrors defaults to false.
 
static unsafe MR.Image fromPng (string path)
 loads from .png format Generated from function MR.ImageLoad.fromPng.
 
static unsafe MR.Image fromPng (MR.Std.Istream in_)
 Generated from function MR.ImageLoad.fromPng.
 
static unsafe MR.Image fromTiff (string path)
 loads from .tiff format Generated from function MR.ImageLoad.fromTiff.
 
static unsafe MR.Image fromAnySupportedFormat (string path)
 detects the format from file extension and loads image from it Generated from function MR.ImageLoad.fromAnySupportedFormat.
 

Member Function Documentation

◆ fromAnySupportedFormat()

static unsafe MR.Image MR.ImageLoad.fromAnySupportedFormat ( string path)
inlinestatic

detects the format from file extension and loads image from it Generated from function MR.ImageLoad.fromAnySupportedFormat.

◆ fromJpeg() [1/3]

static unsafe MR.Image MR.ImageLoad.fromJpeg ( byte? data,
ulong size,
bool? ignoreDecompressErrors = null )
inlinestatic

Generated from function MR.ImageLoad.fromJpeg. Parameter ignoreDecompressErrors defaults to false.

◆ fromJpeg() [2/3]

static unsafe MR.Image MR.ImageLoad.fromJpeg ( MR.Std.Istream in_,
bool? ignoreDecompressErrors = null )
inlinestatic

Generated from function MR.ImageLoad.fromJpeg. Parameter ignoreDecompressErrors defaults to false.

◆ fromJpeg() [3/3]

static unsafe MR.Image MR.ImageLoad.fromJpeg ( string path,
bool? ignoreDecompressErrors = null )
inlinestatic

loads from .jpg format

Parameters
ignoreDecompressErrorsif true do not return decompression error if the header was read sucessfully Generated from function MR.ImageLoad.fromJpeg. Parameter ignoreDecompressErrors defaults to false.

◆ fromPng() [1/2]

static unsafe MR.Image MR.ImageLoad.fromPng ( MR.Std.Istream in_)
inlinestatic

Generated from function MR.ImageLoad.fromPng.

◆ fromPng() [2/2]

static unsafe MR.Image MR.ImageLoad.fromPng ( string path)
inlinestatic

loads from .png format Generated from function MR.ImageLoad.fromPng.

◆ fromTiff()

static unsafe MR.Image MR.ImageLoad.fromTiff ( string path)
inlinestatic

loads from .tiff format Generated from function MR.ImageLoad.fromTiff.


The documentation for this class was generated from the following files: