(image)
return pyvips.Region(pointer)
Make a region on an image.

        Returns:
            A new :class:`.Region`.

        Raises:
            :class:`.Error`
Make a region on an image.
Make a region on an image .
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)
def new ( image ) : pointer = vips_lib . vips_region_new ( image . pointer ) if pointer == ffi . NULL : raise Error ( 'unable to make region' ) return pyvips . Region ( pointer )