Method: Vips::Image#shrinkh

Defined in:
lib/vips8/methods.rb

#shrinkh(xshrink, opts = {}) ⇒ Vips::Image

Shrink an image horizontally.

Parameters:

  • xshrink (Integer)

    Horizontal shrink factor

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

    Set of options

Returns:

[View source]

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