return(constImage()->iterations);
}
+void Magick::Image::attenuate(const double attenuate_)
+{
+ char
+ value[MaxTextExtent];
+
+ modifyImage();
+ FormatLocaleString(value,MaxTextExtent,"%.20g",attenuate_);
+ (void) SetImageArtifact(image(),"attenuate",value);
+}
+
void Magick::Image::backgroundColor(const Color &backgroundColor_)
{
modifyImage();
void Magick::Image::fillColor(const Magick::Color &fillColor_)
{
+ std::string
+ value;
+
modifyImage();
options()->fillColor(fillColor_);
+ value=fillColor_;
+ artifact("fill",value);
}
Magick::Color Magick::Image::fillColor(void) const
return(constImage()->dispose);
}
+void Magick::Image::highlightColor(const Color color_)
+{
+ std::string
+ value;
+
+ value=color_;
+ artifact("highlight-color",value);
+}
+
void Magick::Image::iccColorProfile(const Magick::Blob &colorProfile_)
{
profile("icm",colorProfile_);
{
modifyImage();
GetPPException;
- SetImageProperty(image(),"Label",NULL,&exceptionInfo);
+ (void) SetImageProperty(image(),"Label",NULL,&exceptionInfo);
if (label_.length() > 0)
- SetImageProperty(image(),"Label",label_.c_str(),&exceptionInfo);
+ (void) SetImageProperty(image(),"Label",label_.c_str(),&exceptionInfo);
ThrowPPException;
}
return(std::string());
}
+void Magick::Image::lowlightColor(const Color color_)
+{
+ std::string
+ value;
+
+ value=color_;
+ artifact("lowlight-color",value);
+}
+
void Magick::Image::magick(const std::string &magick_)
{
modifyImage();
void Magick::Image::strokeColor(const Magick::Color &strokeColor_)
{
+ std::string
+ value;
+
modifyImage();
options()->strokeColor(strokeColor_);
+ value=strokeColor_;
+ artifact("stroke",value);
}
Magick::Color Magick::Image::strokeColor(void) const
void Magick::Image::strokeWidth(const double strokeWidth_)
{
+ char
+ value[MaxTextExtent];
+
modifyImage();
options()->strokeWidth(strokeWidth_);
+ FormatLocaleString(value,MaxTextExtent,"%.20g",strokeWidth_);
+ (void) SetImageArtifact(image(),"strokewidth",value);
}
double Magick::Image::strokeWidth(void) const
void animationDelay(const size_t delay_);
size_t animationDelay(void) const;
+ // Lessen (or intensify) when adding noise to an image.
+ void attenuate(const double attenuate_);
+
// Number of iterations to loop an animation (e.g. Netscape loop
// extension) for.
void animationIterations(const size_t iterations_);
void gifDisposeMethod(const DisposeType disposeMethod_);
DisposeType gifDisposeMethod(void) const;
+ // When comparing images, emphasize pixel differences with this color.
+ void highlightColor(const Color color_);
+
// ICC color profile (BLOB)
void iccColorProfile(const Blob &colorProfile_);
Blob iccColorProfile(void) const;
void label(const std::string &label_);
std::string label(void) const;
+ // When comparing images, de-emphasize pixel differences with this color.
+ void lowlightColor(const Color color_);
+
// File type magick identifier (.e.g "GIF")
void magick(const std::string &magick_);
std::string magick(void) const;