Method: Vips::Image#rawsave

Defined in:
lib/vips/methods.rb

#rawsave(filename, **opts) ⇒ nil

Save image to raw file.

Parameters:

  • filename (String)

    Filename to save to

  • opts (Hash)

    Set of options

Options Hash (**opts):

  • :keep (Vips::ForeignKeep)

    Which metadata to retain

  • :background (Array<Double>)

    Background value

  • :page_height (Integer)

    Set page height for multipage save

  • :profile (String)

    Filename of ICC profile to embed

Returns:

  • (nil)


# File 'lib/vips/methods.rb', line 1750