Method: Magick::Image#crop
- Defined in:
- ext/RMagick/rmimage.cpp
#crop(x, y, width, height, reset = false) ⇒ Magick::Image #crop(gravity, width, height, reset = false) ⇒ Magick::Image #crop(gravity, x, y, width, height, reset = false) ⇒ Magick::Image
Extract a region of the image defined by width, height, x, y.
5035 5036 5037 5038 5039 5040 |
# File 'ext/RMagick/rmimage.cpp', line 5035
VALUE
Image_crop(int argc, VALUE *argv, VALUE self)
{
rm_check_destroyed(self);
return cropper(False, argc, argv, self);
}
|