[TC9b3] Scaling issue with 24px icons

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Dalai
Power Member
Power Member
Posts: 9968
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

[TC9b3] Scaling issue with 24px icons

Post by *Dalai »

Not sure if this has been reported before. TC9 has some scaling issues when 24x24 icons are used in the file lists.

TC 8.52a
TC9 beta3
These screenshots were taken on Win7 x64 with ClearType turned off.

The most visible issue is the arrow to go up one level. But if you look closely you can see that the shield of the TC admin programs and even the disk icons of the other TC files are more blurry than in TC8.

Yes, I'm using IconLib=%COMMANDER_EXE%, but the issue stays the same with the stock library of TC9. Using 32x32 icons is OK.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Dalai
Power Member
Power Member
Posts: 9968
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

This is partially fixed in TC9 beta4. The arrow icon to go one level up is OK now, but the icons of the EXE files are still more blurry than in TC8, although it's not immediately visible.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the confirmation. Unfortunately you will have to live with the slightly higher blurryness, because the original function used in older TC versions cannot be used any more - TC has to rescale the image internally and preserve the transparency. I'm currently using linear approximation of the pixels, which is a bit more blurry than something like Lanczos, but I'm not good enough to implement Lanczos myself (and couldn't find sample code).
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9968
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

I see. Thanks for the explanation!

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply