artec::sdk::base::io::Jpg Class Reference

#include <artec/sdk/base/IO/JpgIO.h>

Static Public Member Functions

static ErrorCode save (const wchar_t *path, const IImage *image, int quality=100)
 
static ErrorCode save (IBlob **data, const IImage *image, int quality=100)
 
static ErrorCode load (IImage **image, const wchar_t *path)
 
static ErrorCode load (IImage **image, const IBlob *data)
 

Detailed Description

Definition at line 45 of file JpgIO.h.

Member Function Documentation

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

Load image from JPEG file/blob

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

Definition at line 71 of file JpgIO.h.

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

Load image from JPEG file/blob

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

Definition at line 76 of file JpgIO.h.

static ErrorCode artec::sdk::base::io::Jpg::save ( const wchar_t *  path,
const IImage image,
int  quality = 100 
)
inlinestatic

Save image to JPEG 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 or 3 channels)
quality- quality for saved image

Definition at line 55 of file JpgIO.h.

static ErrorCode artec::sdk::base::io::Jpg::save ( IBlob **  data,
const IImage image,
int  quality = 100 
)
inlinestatic

Save image to JPEG 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 or 3 channels)
quality- quality for saved image

Definition at line 60 of file JpgIO.h.


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