Method: Vips::Image#scale

Defined in:
lib/vips8/methods.rb

#scale(opts = {}) ⇒ Vips::Image

Scale an image to uchar.

Parameters:

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

    Set of options

Options Hash (opts):

  • :log (Boolean)

    Log scale

  • :exp (Float)

    Exponent for log scale

Returns:



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