Class to save/load JPG files.
More...
#include <artec/sdk/base/io/JpgIO.h>
Class to save/load JPG files.
Definition at line 45 of file JpgIO.h.
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.
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: