Method: Magick::Image#shave!
- Defined in:
- ext/RMagick/rmimage.cpp
#shave!(width, height) ⇒ Magick::Image
Shave pixels from the image edges, leaving a rectangle of the specified width & height in the center. In-place form of #shave.
13131 13132 13133 13134 13135 13136 |
# File 'ext/RMagick/rmimage.cpp', line 13131
VALUE
Image_shave_bang(VALUE self, VALUE width, VALUE height)
{
rm_check_frozen(self);
return xform_image(True, self, INT2FIX(0), INT2FIX(0), width, height, GVL_FUNC(ShaveImage));
}
|