Permalink
Browse files

Removed deprecated sharp method for adjusting image quality

  • Loading branch information...
davidmerfield committed Jan 9, 2019
1 parent e882734 commit 9451ce0ab76dacb9e40c61ea9e4d0e4ba3293cce
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/build/plugins/image/resize.js
@@ -32,7 +32,9 @@ module.exports = function(path, callback){

image = sharp(path);

image.quality(100)
// Disable deprecated feature
// .quality(100)
image
.rotate()
.withoutEnlargement()
.resize(3000, 3000)

0 comments on commit 9451ce0

Please sign in to comment.