Method: VIPS::Header#x_res
- Defined in:
- ext/header.c
#x_res ⇒ Numeric
Get the x-resolution of the image.
124 125 126 127 128 129 130 131 132 133 |
# File 'ext/header.c', line 124
static VALUE
header_x_res(VALUE obj)
{
GetImg(obj, data, im);
if (im)
return rb_float_new(im->Xres);
return Qnil;
}
|