17 namespace artec {
namespace sdk {
namespace base {
namespace io {
Interface for common raster image objects.
Class to save/load JPG files.
ErrorCode ABASESDK_LINK_SPEC loadJpgImageFromFile(IImage **image, const wchar_t *path)
static ErrorCode load(IImage **image, const IBlob *data)
static ErrorCode save(IBlob **data, const IImage *image, int quality=100)
ErrorCode ABASESDK_LINK_SPEC saveJpgImageToFile(const wchar_t *path, const IImage *image, int quality=100)
Interface for Binary Large Object (memory chunk) with smart reference counting.
static ErrorCode load(IImage **image, const wchar_t *path)
ErrorCode ABASESDK_LINK_SPEC saveJpgImageToBlob(IBlob **data, const IImage *image, int quality=100)
ErrorCode ABASESDK_LINK_SPEC loadJpgImageFromBlob(IImage **image, const IBlob *data)
#define ABASESDK_LINK_SPEC
static ErrorCode save(const wchar_t *path, const IImage *image, int quality=100)