Skip to content

Commit

Permalink
0.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Mar 17, 2023
1 parent 405e6a5 commit d86823e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion built/image-processor.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import sharp from 'sharp';
export const webpDefault = {
quality: 85,
quality: 77,
alphaQuality: 95,
lossless: false,
nearLossless: false,
smartSubsample: true,
mixed: true,
effort: 2,
};
export function convertToWebpStream(path, width, height, options = webpDefault) {
return convertSharpToWebpStream(sharp(path), width, height, options);
Expand Down

0 comments on commit d86823e

Please sign in to comment.