Method: VIPS::Header#y_offset

Defined in:
ext/header.c

#y_offsetNumeric

Get the y-offset of the image.

Returns:

  • (Numeric)


178
179
180
181
182
183
184
185
186
187
# File 'ext/header.c', line 178

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

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

    return Qnil;
}