9 #define MAGICKCORE_IMPLEMENTATION 1 10 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1 19 : _decoderThreadSupport(false),
21 _encoderThreadSupport(false),
32 : _decoderThreadSupport(coder_._decoderThreadSupport),
33 _description(coder_._description),
34 _encoderThreadSupport(coder_._encoderThreadSupport),
35 _isMultiFrame(coder_._isMultiFrame),
36 _isReadable(coder_._isReadable),
37 _isWritable(coder_._isWritable),
38 _mimeType(coder_._mimeType),
39 _module(coder_._module),
45 : _decoderThreadSupport(false),
47 _encoderThreadSupport(false),
55 const Magick::MagickInfo
59 magickInfo=GetMagickInfo(name_.c_str(),exceptionInfo);
66 _decoderThreadSupport=(GetMagickDecoderThreadSupport(magickInfo) ==
67 MagickTrue) ?
true :
false;
68 _description=std::string(magickInfo->description);
69 _encoderThreadSupport=(GetMagickEncoderThreadSupport(magickInfo) ==
70 MagickTrue) ?
true :
false;
71 _isMultiFrame=(GetMagickAdjoin(magickInfo) == MagickTrue) ?
true :
false;
72 _isReadable=((magickInfo->decoder == (MagickCore::DecodeImageHandler *)
73 NULL) ? false :
true);
74 _isWritable=((magickInfo->encoder == (MagickCore::EncodeImageHandler *)
75 NULL) ? false :
true);
76 _mimeType=std::string(magickInfo->mime_type != (
char *) NULL ?
77 magickInfo->mime_type :
"");
78 _module=std::string(magickInfo->magick_module);
79 _name=std::string(magickInfo->name);
92 _decoderThreadSupport=coder_._decoderThreadSupport;
93 _description=coder_._description;
94 _encoderThreadSupport=coder_._encoderThreadSupport;
95 _isMultiFrame=coder_._isMultiFrame;
96 _isReadable=coder_._isReadable;
97 _isWritable=coder_._isWritable;
98 _mimeType=coder_._mimeType;
99 _module=coder_._module;
107 return(_decoderThreadSupport);
112 return(_encoderThreadSupport);
117 return(_description);
132 return(_isMultiFrame);
152 return(UnregisterMagickInfo(_name.c_str()) != MagickFalse);
CoderInfo & operator=(const CoderInfo &coder_)
bool isReadable(void) const
bool unregister(void) const
bool canWriteMultithreaded(void) const
bool isMultiFrame(void) const
std::string description(void) const
MagickPPExport void throwExceptionExplicit(const MagickCore::ExceptionType severity_, const char *reason_, const char *description_=(char *) NULL)
#define ThrowPPException(quiet)
std::string mimeType(void) const
std::string module(void) const
bool isWritable(void) const
bool canReadMultithreaded(void) const
std::string name(void) const