mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Docs: correct quality option in overlayWith example (#1325)
This commit is contained in:
committed by
Lovell Fuller
parent
c14434f9e7
commit
23a4bc103e
@@ -19,8 +19,7 @@ const is = require('./is');
|
||||
* .overlayWith('overlay.png', { gravity: sharp.gravity.southeast } )
|
||||
* .sharpen()
|
||||
* .withMetadata()
|
||||
* .quality(90)
|
||||
* .webp()
|
||||
* .webp( { quality: 90 } )
|
||||
* .toBuffer()
|
||||
* .then(function(outputBuffer) {
|
||||
* // outputBuffer contains upside down, 300px wide, alpha channel flattened
|
||||
|
||||
Reference in New Issue
Block a user