Method: Vips::Image#jpegsave
- Defined in:
- lib/vips8/methods.rb
permalink #jpegsave(filename, opts = {}) ⇒ nil
Save image to jpeg file.
Parameters:
-
filename
(String)
—
Filename to save to
-
opts
(Hash)
(defaults to: {})
—
Set of options
Options Hash (opts):
-
:Q
(Integer)
—
Q factor
-
:profile
(String)
—
ICC profile to embed
-
:optimize_coding
(Boolean)
—
Compute optimal Huffman coding tables
-
:interlace
(Boolean)
—
Generate an interlaced (progressive) jpeg
-
:no_subsample
(Boolean)
—
Disable chroma subsample
-
:trellis_quant
(Boolean)
—
Apply trellis quantisation to each 8x8 block
-
:overshoot_deringing
(Boolean)
—
Apply overshooting to samples with extreme values
-
:optimize_scans
(Boolean)
—
Split the spectrum of DCT coefficients into separate scans
-
:strip
(Boolean)
—
Strip all metadata from image
-
:background
(Array<Double>)
—
Background value
Returns:
- (nil)
|
# File 'lib/vips8/methods.rb', line 1125
|