Method: Vips::Image#unpremultiply

Defined in:
lib/vips8/methods.rb

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

Unpremultiply image alpha.

Parameters:

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

    Set of options

Options Hash (opts):

  • :max_alpha (Float)

    Maximum value of alpha channel

Returns:


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