Docs: Update deprecated overlayWith example (#1526)

This commit is contained in:
Pascal Temel
2018-12-30 21:44:36 +01:00
committed by Lovell Fuller
parent a54fe9f77c
commit 813831acf0
2 changed files with 2 additions and 4 deletions

View File

@@ -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()