mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Deprecate limitInputPixels and sequentialRead, move to input options
This commit is contained in:
@@ -460,8 +460,7 @@ async.series({
|
||||
}).add('sharp-sequentialRead', {
|
||||
defer: true,
|
||||
fn: function (deferred) {
|
||||
sharp(inputJpgBuffer)
|
||||
.sequentialRead()
|
||||
sharp(inputJpgBuffer, { sequentialRead: true })
|
||||
.resize(width, height)
|
||||
.toBuffer(function (err, buffer) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user