Method: Vips::Image.zone

Defined in:
lib/vips8/methods.rb

.zone(width, height, opts = {}) ⇒ Vips::Image

Make a zone plate.

Parameters:

  • width (Integer)

    Image width in pixels

  • height (Integer)

    Image height in pixels

  • opts (Hash) (defaults to: {})

    Set of options

Options Hash (opts):

  • :uchar (Boolean)

    Output an unsigned char image

Returns:

[View source]

# File 'lib/vips8/methods.rb', line 609