class_docstr: Wrap a VipsRegion object.
  
      
docstr: Make a region on an image.
  
  Returns:
      A new :class:`.Region`.
  
  Raises:
      :class:`.Error`
docstr_tok: ["Make","a","region","on","an","image",".","Returns",":","A","new",":","class",":","`",".Region","`",".","Raises",":",":","class",":","`",".Error","`"]
code: def new(image):
      """Make a region on an image.
  
      Returns:
          A new :class:`.Region`.
  
      Raises:
          :class:`.Error`
  
      """
  
      pointer = vips_lib.vips_region_new(image.pointer)
      if pointer == ffi.NULL:
          raise Error("unable to make region")
  
      return pyvips.Region(pointer)
  
file_path: pyvips/pyvips/vregion.py
imports: from __future__ import division
  import pyvips
  from pyvips import ffi, glib_lib, vips_lib, Error, at_least_libvips
label_desc: Use image node_id 2 for calling the Region obj's underlying member method code with example usage: obj.new(image) and returns: pyvips