Skip to content

Commit

Permalink
removed nearLossless, reductionEffort and smartSubsample parameters f…
Browse files Browse the repository at this point in the history
…rom webp (#154)

Co-authored-by: Hitesh Joshi <[email protected]>
  • Loading branch information
hite-js and Hitesh Joshi authored Apr 13, 2022
1 parent 3d9df1c commit b4e7a86
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/images/workers/resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ const resize = async ({
} else if (fileType === 'webp') {
image = await image.webp({
quality,
reductionEffort: 6,
nearLossless: true,
smartSubsample: true,
});
}

Expand Down

0 comments on commit b4e7a86

Please sign in to comment.