From c6d66ea11115ba0d59fd8a83a433adb66c585789 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 14 Apr 2022 10:13:25 +1000 Subject: [PATCH] add image smoothing medium when auto scaling images --- ts/util/attachmentsUtil.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/util/attachmentsUtil.ts b/ts/util/attachmentsUtil.ts index c601b72ae..b4f7959b6 100644 --- a/ts/util/attachmentsUtil.ts +++ b/ts/util/attachmentsUtil.ts @@ -190,6 +190,7 @@ export async function autoScale( orientation: 1, aspectRatio: makeSquare ? 1 : undefined, canvas: true, + imageSmoothingQuality: 'medium', }; perfStart(`loadimage-*${blob.size}`);