From 3338808f17a0c69d1454fcedb5309f8f54a10107 Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Tue, 15 Dec 2020 10:42:18 +0000 Subject: [PATCH] Make vector the default resize type for vector images --- src/client/lazy-app/Compress/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/lazy-app/Compress/index.tsx b/src/client/lazy-app/Compress/index.tsx index 0da8f769..232fe667 100644 --- a/src/client/lazy-app/Compress/index.tsx +++ b/src/client/lazy-app/Compress/index.tsx @@ -604,6 +604,7 @@ export default class Compress extends Component { const resizeState: Partial = { width: decoded.width, height: decoded.height, + method: vectorImage ? 'vector' : 'lanczos3', // Disable resizing, to make it clearer to the user that something changed here enabled: false, };