Method: Vips::Image#dzsave
- Defined in:
- lib/vips/methods.rb
#dzsave(filename, **opts) ⇒ nil
Save image to deepzoom file.
Parameters:
-
filename
(String)
—
Filename to save to
-
opts
(Hash)
—
Set of options
Options Hash (**opts):
-
:imagename
(String)
—
Image name
-
: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
-
:compression
(Integer)
—
ZIP deflate compression level
-
:region_shrink
(Vips::RegionShrink)
—
Method to shrink regions
-
:skip_blanks
(Integer)
—
Skip tiles which are nearly equal to the background
-
:id
(String)
—
Resource ID
-
:Q
(Integer)
—
Q factor
-
: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 1983
|