11 #define MAGICKCORE_IMPLEMENTATION 1 12 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1 25 _image=AcquireImage(_options->
imageInfo(),exceptionInfo);
41 _image=DestroyImageList(_image);
58 "Invalid call to decrease");
84 isShared=(_refCount > 1);
106 imgRef->_mutexLock.
lock();
107 if (imgRef->_refCount == 1)
112 (void) DestroyImageList(imgRef->_image);
113 imgRef->_image=replacement_;
114 imgRef->_mutexLock.
unlock();
119 instance=
new ImageRef(replacement_,imgRef->_options);
121 imgRef->_mutexLock.
unlock();
134 property=(
const char *) NULL;
135 if (!force_ && (_image->taint == MagickFalse))
136 property=GetImageProperty(_image,
"Signature",exceptionInfo);
137 if (property == (
const char *) NULL)
139 (void) SignatureImage(_image,exceptionInfo);
140 property=GetImageProperty(_image,
"Signature",exceptionInfo);
145 return(std::string(property));
154 _options=
new Options(*options_);
MagickCore::ImageInfo * imageInfo(void)
MagickPPExport void throwExceptionExplicit(const MagickCore::ExceptionType severity_, const char *reason_, const char *description_=(char *) NULL)
#define ThrowPPException(quiet)
static ImageRef * replaceImage(ImageRef *imgRef, MagickCore::Image *replacement_)
class MagickPPExport Image
MagickCore::Image *& image(void)
std::string signature(const bool force_=false)