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

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

#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

Class to save/load JPG files.

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 where to save image
data- blob pointer where to save image
image- image to save (not empty, 1 or 3 channels)
quality- saved image quality

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 where to save image
data- blob pointer where to save image
image- image to save (not empty, 1 or 3 channels)
quality- saved image quality

Definition at line 60 of file JpgIO.h.


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