Method: Magick::Image#x_resolution=

Defined in:
ext/RMagick/rmimage.cpp

#x_resolution=(val) ⇒ Numeric

Set the horizontal resolution of the image.

Parameters:

  • val (Numeric)

    the resolution

Returns:

  • (Numeric)

    the given resolution



16047
16048
16049
16050
16051
# File 'ext/RMagick/rmimage.cpp', line 16047

VALUE
Image_x_resolution_eq(VALUE self, VALUE val)
{
    IMPLEMENT_TYPED_ATTR_WRITER(Image, x_resolution, dbl, &rm_image_data_type);
}