Method: Magick::Image#trim
- Defined in:
- ext/RMagick/rmimage.cpp
#trim(reset = false) ⇒ Magick::Image
Removes the edges that are exactly the same color as the corner pixels. Use the fuzz attribute to make trim remove edges that are nearly the same color as the corner pixels.
14983 14984 14985 14986 14987 14988 |
# File 'ext/RMagick/rmimage.cpp', line 14983
VALUE
Image_trim(int argc, VALUE *argv, VALUE self)
{
rm_check_destroyed(self);
return trimmer(False, argc, argv, self);
}
|