artec::sdk::base::io::Png Class Reference

#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

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 to save image to
data- blob pointer to save image to
image- image to be saved (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 to save image to
data- blob pointer to save image to
image- image to be saved (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: