Skip to content

Commit 42a59bd

Browse files
Make 100% quality compression
1 parent 1ffa38c commit 42a59bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/generateOpenGraphImage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export async function generateOpenGraphImage({
164164
satoriOptions,
165165
)
166166

167-
const webp = await sharp(Buffer.from(svg)).webp({ quality: 90 }).toBuffer()
167+
const webp = await sharp(Buffer.from(svg)).webp({ quality: 100 }).toBuffer()
168168

169169
return new Response(webp, { headers: { "Content-Type": "image/webp" } })
170170
}

0 commit comments

Comments
 (0)