Skip to content

Commit a7cad1f

Browse files
committed
Linear kernel push
1 parent e5e2363 commit a7cad1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hashing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function computeHashesFromStream(
5757
const rawBuffer = await buffer(stream);
5858

5959
data = await sharp(rawBuffer)
60-
.resize(448, 448)
60+
.resize(448, 448, { kernel: 'linear' })
6161
.removeAlpha()
6262
.raw({ depth: 'uchar' })
6363
.toBuffer();

0 commit comments

Comments
 (0)