(void) DestroyExceptionInfo( &exceptionInfo );
}
+void Magick::Image::artifact ( const std::string &name_,
+ const std::string &value_ )
+{
+ modifyImage();
+ (void) SetImageArtifact ( image(), name_.c_str(), value_.c_str() );
+}
+
+std::string Magick::Image::artifact ( const std::string &name_ )
+{
+ const char *value = GetImageArtifact ( image(), name_.c_str() );
+ if (value)
+ return std::string( value );
+ return std::string( );
+}
+
// Blur image
void Magick::Image::blur( const double radius_, const double sigma_ )
{
// gravity.
void annotate ( const std::string &text_,
const GravityType gravity_ );
+
+ // Inserts the artifact with the specified name and value into
+ // the artifact tree of the image.
+ void artifact ( const std::string &name_,
+ const std::string &value_ );
+ // Returns the value of the artifact with the specified name.
+ std::string artifact ( const std::string &name_ );
// Blur image with specified blur factor
// The radius_ parameter specifies the radius of the Gaussian, in