Artec 3D Scanning SDK  2.0
List of all members
artec::sdk::base::io::Png Class Reference

Class to save/load PNG files. More...

#include <artec/sdk/base/io/PngIO.h>

Static Public Member Functions

static ErrorCode save (const wchar_t *path, const IImage *image)
 
static ErrorCode save (IBlob **data, const IImage *image)
 
static ErrorCode load (IImage **image, const wchar_t *path)
 
static ErrorCode load (IImage **image, const IBlob *data)
 

Detailed Description

Class to save/load PNG files.

Definition at line 44 of file PngIO.h.

Member Function Documentation

static ErrorCode artec::sdk::base::io::Png::load ( IImage **  image,
const wchar_t *  path 
)
inlinestatic

Load image from PNG file/blob

Parameters
image- loaded image
path- file path to load image from
data- blob to load image from

Definition at line 69 of file PngIO.h.

static ErrorCode artec::sdk::base::io::Png::load ( IImage **  image,
const IBlob data 
)
inlinestatic

Load image from PNG file/blob

Parameters
image- loaded image
path- file path to load image from
data- blob to load image from

Definition at line 74 of file PngIO.h.

static ErrorCode artec::sdk::base::io::Png::save ( const wchar_t *  path,
const IImage image 
)
inlinestatic

Save image to PNG file/blob

Parameters
path- file path where to save image
data- blob pointer where to save image
image- image to save (not empty, 1,3,4 channels)

Definition at line 53 of file PngIO.h.

static ErrorCode artec::sdk::base::io::Png::save ( IBlob **  data,
const IImage image 
)
inlinestatic

Save image to PNG file/blob

Parameters
path- file path where to save image
data- blob pointer where to save image
image- image to save (not empty, 1,3,4 channels)

Definition at line 58 of file PngIO.h.


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