55 virtual std::shared_ptr<libCZI::IBitmapData> Decode(
const void* ptrData,
size_t size) = 0;
81 virtual bool IsEnabled(
int logLevel) = 0;
89 virtual void Log(
int level,
const char* szMsg) = 0;
97 virtual std::shared_ptr<IDecoder> GetDecoder(
ImageDecoderType type,
const char* arguments) = 0;
111 virtual std::shared_ptr<libCZI::IBitmapData> CreateBitmap(
libCZI::PixelType pixeltype, std::uint32_t width, std::uint32_t height, std::uint32_t stride = 0, std::uint32_t extraRows = 0, std::uint32_t extraColumns = 0) = 0;
116 void Log(
int level,
const std::string& str)
118 this->Log(level, str.c_str());
124 void Log(
int level, std::stringstream& ss)
126 this->Log(level, ss.str());
PixelType
An enum representing a pixel-type.
Definition: libCZI_Pixels.h:127
Definition: libCZI_Pixels.h:167
const int LOGLEVEL_ERROR
Identifies a non-recoverable error.
Definition: libCZI_Site.h:61
const int LOGLEVEL_CHATTYINFORMATION
Identifies an informational output which has no impact on proper operation. Use this for output which...
Definition: libCZI_Site.h:65
const int LOGLEVEL_INFORMATION
Identifies an informational output. It has no impact on the proper operation.
Definition: libCZI_Site.h:64
void Log(int level, const std::string &str)
Definition: libCZI_Site.h:116
Definition: libCZI_Site.h:69
External interfaces, classes, functions and structs are found in the namespace "libCZI".
Definition: libCZI.h:45
const int LOGLEVEL_WARNING
Identifies that a problem has been identified. It is likely that proper operation can be kept up...
Definition: libCZI_Site.h:63
void Log(int level, std::stringstream &ss)
Definition: libCZI_Site.h:124
const int LOGLEVEL_CATASTROPHICERROR
Identifies a catastrophic error (i. e. the program cannot continue).
Definition: libCZI_Site.h:60
The interface used for operating image decoder. That is the simplest possible interface at this point...
Definition: libCZI_Site.h:39
const int LOGLEVEL_SEVEREWARNING
Identifies that a severe problem has occured. Proper operation of the module is not ensured...
Definition: libCZI_Site.h:62
Identifies an encoder capable of decoding a JPG-XR compressed image.
ImageDecoderType
Definition: libCZI_Site.h:31