Skip to content

Commit b4e7a86

Browse files
hite-jsHitesh Joshi
and
Hitesh Joshi
authored
removed nearLossless, reductionEffort and smartSubsample parameters from webp (#154)
Co-authored-by: Hitesh Joshi <[email protected]>
1 parent 3d9df1c commit b4e7a86

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/images/workers/resize.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ const resize = async ({
103103
} else if (fileType === 'webp') {
104104
image = await image.webp({
105105
quality,
106-
reductionEffort: 6,
107-
nearLossless: true,
108-
smartSubsample: true,
109106
});
110107
}
111108

0 commit comments

Comments
 (0)