mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Docs: Update deprecated overlayWith example (#1526)
This commit is contained in:
committed by
Lovell Fuller
parent
a54fe9f77c
commit
813831acf0
@@ -14,8 +14,7 @@ const is = require('./is');
|
||||
* sharp('input.png')
|
||||
* .rotate(180)
|
||||
* .resize(300)
|
||||
* .flatten()
|
||||
* .background('#ff6600')
|
||||
* .flatten( { background: '#ff6600' } )
|
||||
* .overlayWith('overlay.png', { gravity: sharp.gravity.southeast } )
|
||||
* .sharpen()
|
||||
* .withMetadata()
|
||||
|
||||
Reference in New Issue
Block a user