Method: VIPS::Header#x_offset

Defined in:
ext/header.c

#x_offsetNumeric

Get the x-offset of the image.

Returns:

  • (Numeric)


160
161
162
163
164
165
166
167
168
169
# File 'ext/header.c', line 160

static VALUE
header_x_offset(VALUE obj)
{
  GetImg(obj, data, im);

    if (im)
        return INT2FIX(im->Xoffset);

    return Qnil;
}