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.
14985 14986 14987 14988 14989 14990 |
# File 'ext/RMagick/rmimage.cpp', line 14985 VALUE Image_trim(int argc, VALUE *argv, VALUE self) { rm_check_destroyed(self); return trimmer(False, argc, argv, self); } |