Method: Magick::Image#sample
- Defined in:
- ext/RMagick/rmimage.cpp
#sample(scale) ⇒ Magick::Image #sample(cols, rows) ⇒ Magick::Image
Scale an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.
12407 12408 12409 12410 12411 12412 |
# File 'ext/RMagick/rmimage.cpp', line 12407
VALUE
Image_sample(int argc, VALUE *argv, VALUE self)
{
rm_check_destroyed(self);
return scale(False, argc, argv, self, GVL_FUNC(SampleImage));
}
|