Method: Vips::Image#dzsave

Defined in:
lib/vips8/methods.rb

#dzsave(filename, opts = {}) ⇒ nil

Save image to deep zoom format.

Parameters:

  • filename (String)

    Filename to save to

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

    Set of options

Options Hash (opts):

  • :layout (Vips::ForeignDzLayout)

    Directory layout

  • :suffix (String)

    Filename suffix for tiles

  • :overlap (Integer)

    Tile overlap in pixels

  • :tile_size (Integer)

    Tile size in pixels

  • :centre (Boolean)

    Center image in tile

  • :depth (Vips::ForeignDzDepth)

    Pyramid depth

  • :angle (Vips::Angle)

    Rotate image during save

  • :container (Vips::ForeignDzContainer)

    Pyramid container type

  • :properties (Boolean)

    Write a properties file to the output directory

  • :strip (Boolean)

    Strip all metadata from image

  • :background (Array<Double>)

    Background value

Returns:

  • (nil)
[View source]

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