From d7c58665ffdad04088ae5415f371900aeda0b61a Mon Sep 17 00:00:00 2001 From: maforget <11904426+maforget@users.noreply.github.com> Date: Sun, 7 Apr 2024 23:39:55 -0400 Subject: [PATCH] Default method for resizing thumbnails changed to FastAndUgly (Nearest Neighbor) --- ComicRack.Engine/EngineConfiguration.cs | 4 ++-- ComicRack/Changes.txt | 1 + ComicRack/ComicRack.ini | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ComicRack.Engine/EngineConfiguration.cs b/ComicRack.Engine/EngineConfiguration.cs index fe57eed..cd8aca6 100644 --- a/ComicRack.Engine/EngineConfiguration.cs +++ b/ComicRack.Engine/EngineConfiguration.cs @@ -147,7 +147,7 @@ public bool CacheThumbnailPages set; } - [DefaultValue(BitmapResampling.FastBilinear)] + [DefaultValue(BitmapResampling.FastAndUgly)] public BitmapResampling ThumbnailResampling { get; @@ -598,7 +598,7 @@ public EngineConfiguration() Color.Red, Color.Blue }; - ThumbnailResampling = BitmapResampling.FastBilinear; + ThumbnailResampling = BitmapResampling.FastAndUgly; ThumbnailQuality = 60; ThumbnailPageBow = true; ExportResampling = BitmapResampling.GdiPlusHQ; diff --git a/ComicRack/Changes.txt b/ComicRack/Changes.txt index d00350b..2a46689 100644 --- a/ComicRack/Changes.txt +++ b/ComicRack/Changes.txt @@ -42,6 +42,7 @@ Community Edition Build 0.9.180: * CHANGE: The magnifing glass can now be twice as big as before (512 x 512 => 1024 x 1024) * CHANGE: Updated Publishers.zip * CHANGE: Series: Gaps will try to determine Number range of type "# - #". +* CHANGE: The default method for resizing thumbnails was changed from FastBilinear (Bilinear) to FastAndUgly (Nearest Neighbor). For more speed but more importantly to prevent a crash that has been happening and is hard to prevent. This should at the very least reduce the incidence of that crash happening or having bad thumnails created (with a big red X). You can change back the method manually by changing the ThumbnailResampling entry in the ComicRack.ini. * BUGFIX: Fixed crash when the clipboard contains some objects while the program is idle. The check should now only happen on a right-click and not in the background. It should at least lessen the frequency of the crash, maybe remove it completely. * BUGFIX: Fixed smartlist "in range" for dates, the second field wasn't taken into account. diff --git a/ComicRack/ComicRack.ini b/ComicRack/ComicRack.ini index aed85eb..bba3f9b 100644 --- a/ComicRack/ComicRack.ini +++ b/ComicRack/ComicRack.ini @@ -317,7 +317,7 @@ ; ThumbnailQuality = 60 ; override the method for creating thumbnails (valid are FastAndUgly, FastBilinear, FastBicubic, BilinearHQ, OpenGl, GdiPlus, GdiPlusHQ, BestQuality) -; ThumbnailResampling = FastBilinear +; ThumbnailResampling = FastAndUgly ; override the method for resizing pages during export (valid are FastAndUgly, FastBilinear, FastBicubic, BilinearHQ, OpenGl, GdiPlus, GdiPlusHQ, BestQuality) ; ExportResampling = BestQuality