From f32568c918d2da3923192fd8238bceec529ed4b5 Mon Sep 17 00:00:00 2001 From: Michael Babienco Date: Wed, 25 Feb 2026 07:50:28 +0900 Subject: [PATCH] Downsize if > 1.5 MB --- src/ViewModels/MainViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ViewModels/MainViewModel.cs b/src/ViewModels/MainViewModel.cs index e1b4b4a..bbc9dc6 100644 --- a/src/ViewModels/MainViewModel.cs +++ b/src/ViewModels/MainViewModel.cs @@ -680,7 +680,7 @@ class MainViewModel : BaseViewModel, IFontResolver, ICanCheckShutdown didAdjust = true; } // perform needed image manipulations - if (isHEIC || isWebp || isPNG || (!isPDF && info.Length > 2.5 * 1024 * 1024 /* 2.5 MB */)) + if (isHEIC || isWebp || isPNG || (!isPDF && info.Length > 1.5 * 1024 * 1024 /* 2.5 MB */)) { // Save image as jpg loadedImageWidth = mImage.Width;