Method: Magick::Image#minify

Defined in:
ext/RMagick/rmimage.c

#minifyObject

Scale an image proportionally to half its size.

Ruby usage:

- @verbatim Image#minify @endverbatim

Returns:

  • minify: a new image 1/2x the size of the input image

  • minify!: self, 1/2x

  • a new image

See Also:

  • Image_minify_bang

8717
8718
8719
8720
8721
8722
# File 'ext/RMagick/rmimage.c', line 8717

VALUE
Image_minify(VALUE self)
{
    (void) rm_check_destroyed(self);
    return magnify(False, self, MinifyImage);
}