def get name
      # with old libvips, we must fetch properties (as opposed to
      # metadata) via VipsObject
      unless Vips::at_least_libvips?(8, 5)
        return super if parent_get_typeof(name) != 0
      end

      gvalue = GObject::GValue.alloc
      result = Vips::vips_image_get self, name, gvalue
      raise Vips::Error if result != 0

      gvalue.get
    end
def get name
      # with old libvips, we must fetch properties (as opposed to
      # metadata) via VipsObject
      unless Vips::at_least_libvips?(8, 5)
        return super if parent_get_typeof(name) != 0
      end

      gvalue = GObject::GValue.alloc
      result = Vips::vips_image_get self, name, gvalue
      raise Vips::Error if result != 0

      gvalue.get
    end
Get a metadata item from an image. Ruby types are constructed
 automatically from the `GValue`, if possible.

 For example, you can read the ICC profile from an image like this:

 ```
 profile = image.get "icc-profile-data"
 ```

 and profile will be an array containing the profile.

 @param name [String] Metadata field to get
 @return [Object] Value of field