8 #ifndef DRV_NDFileMagick_H
9 #define DRV_NDFileMagick_H
13 using namespace Magick;
16 #define NDFileMagickQualityString "MAGICK_QUALITY"
17 #define NDFileMagickCompressTypeString "MAGICK_COMPRESS_TYPE"
18 #define NDFileMagickBitDepthString "MAGICK_BIT_DEPTH"
24 NDFileMagick(
const char *portName,
int queueSize,
int blockingCallbacks,
25 const char *NDArrayPort,
int NDArrayAddr,
26 int priority,
int stackSize);
30 virtual asynStatus readFile(
NDArray **pArray);
31 virtual asynStatus writeFile(
NDArray *pArray);
32 virtual asynStatus closeFile();
36 #define FIRST_NDFILE_MAGICK_PARAM NDFileMagickQuality
43 StorageType storageType;
NDColorMode_t colorMode
Definition: ADPylon.cpp:59
NDColorMode_t
Enumeration of color modes for NDArray attribute "colorMode".
Definition: NDArray.h:35
#define NDPLUGIN_API
Definition: NDPluginAPI.h:41
int NDFileOpenMode_t
Definition: NDPluginFile.h:17
#define MAX_FILENAME_LEN
Maximum length of a filename or any of its components.
Definition: asynNDArrayDriver.h:12
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:99
Writes NDArrays to files using the GraphicsMagick library; can write many different file formats.
Definition: NDFileMagick.h:22
int NDFileMagickCompressType
Definition: NDFileMagick.h:37
int NDFileMagickBitDepth
Definition: NDFileMagick.h:38
int NDFileMagickQuality
Definition: NDFileMagick.h:35
Base class for NDArray file writing plugins; actual file writing plugins inherit from this class.
Definition: NDPluginFile.h:28
ImageType
Definition: pxrd2_interface_misc.h:53