mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 05:14:06 -06:00
Enabled smartDeblock for better low contrast edges
This commit is contained in:
parent
6cc665d8db
commit
653998c547
@ -109,7 +109,8 @@ async function processImage(
|
||||
}
|
||||
|
||||
if (!(previewImageInfo?.resizeOnly ?? false)) {
|
||||
pipeline = pipeline.webp({ quality: 90, smartSubsample: true, effort: 6 })
|
||||
// @ts-expect-error TS2353 till https://github.com/lovell/sharp/pull/4387 is merged.
|
||||
pipeline = pipeline.webp({ quality: 90, smartSubsample: true, smartDeblock: true, effort: 6 })
|
||||
// .avif({ quality: 90, effort: 9, chromaSubsampling: "4:2:0", bitdepth: 8 })
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user