ThrowPPException;
}
+void Magick::Image::thumbnail(const Geometry &geometry_)
+{
+ MagickCore::Image
+ *newImage;
+
+ size_t
+ height=rows(),
+ width=columns();
+
+ ssize_t
+ x=0,
+ y=0;
+
+ ParseMetaGeometry(static_cast<std::string>(geometry_).c_str(),&x,&y,&width,
+ &height);
+
+ GetPPException;
+ newImage=ThumbnailImage(constImage(),width,height,&exceptionInfo);
+ replaceImage(newImage);
+ ThrowPPException;
+}
+
void Magick::Image::transform(const Geometry &imageGeometry_)
{
modifyImage();
{
modifyImage();
_imgRef->id(-1);
-}
\ No newline at end of file
+}
// Threshold image
void threshold(const double threshold_);
+ // Resize image to thumbnail size
+ void thumbnail(const Geometry &geometry_);
+
// Transform image based on image and crop geometries
// Crop geometry is optional
void transform(const Geometry &imageGeometry_);