Skip to content

Commit

Permalink
Default method for resizing thumbnails changed to FastAndUgly (Neares…
Browse files Browse the repository at this point in the history
…t Neighbor)
  • Loading branch information
maforget committed Apr 8, 2024
1 parent e1a7a1b commit d7c5866
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ComicRack.Engine/EngineConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public bool CacheThumbnailPages
set;
}

[DefaultValue(BitmapResampling.FastBilinear)]
[DefaultValue(BitmapResampling.FastAndUgly)]
public BitmapResampling ThumbnailResampling
{
get;
Expand Down Expand Up @@ -598,7 +598,7 @@ public EngineConfiguration()
Color.Red,
Color.Blue
};
ThumbnailResampling = BitmapResampling.FastBilinear;
ThumbnailResampling = BitmapResampling.FastAndUgly;
ThumbnailQuality = 60;
ThumbnailPageBow = true;
ExportResampling = BitmapResampling.GdiPlusHQ;
Expand Down
1 change: 1 addition & 0 deletions ComicRack/Changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ComicRack/ComicRack.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7c5866

Please sign in to comment.