imagemin / imagemin-pngquant

Imagemin plugin for `pngquant`
MIT License
316 stars 81 forks source link

Unable to process images larger than 10MB #60

Closed TitanNano closed 5 years ago

TitanNano commented 5 years ago

This package depends on execa which sets the maxBuffer option by default to 10 MB, unfortunately that causes this package to fail at processing images larger than 10 MB. Please raise the maximum to Infinity so any image can be processed.

sindresorhus commented 5 years ago

This is already the case: https://github.com/imagemin/imagemin-pngquant/blob/6ce8a90eac53b57fc106a2afc7dc6c0fd102399b/index.js#L59