u
This commit is contained in:
@@ -35,9 +35,9 @@ export default async function processAvifImage(inputBuffer) {
|
||||
})
|
||||
: sharp(input)
|
||||
.resize(FULL_MAX, FULL_MAX, { fit: 'inside', withoutEnlargement: true })
|
||||
.avif({ effort: 4 })
|
||||
.avif({ effort: 2 })
|
||||
.toBuffer({ resolveWithObject: true }),
|
||||
thumbPipeline.clone().avif({ effort: 4 }).toBuffer({ resolveWithObject: true }),
|
||||
thumbPipeline.clone().avif({ effort: 2 }).toBuffer({ resolveWithObject: true }),
|
||||
thumbPipeline
|
||||
.clone()
|
||||
.resize(100, 100, { fit: 'inside', withoutEnlargement: true })
|
||||
|
||||
Reference in New Issue
Block a user