roblillack / wmaker

Private copy of official Window Maker repo; my patches are in branch "robsversion," upstream is "master"
http://windowmaker.org
GNU General Public License v2.0
8 stars 2 forks source link

Improve icon scaling algorithm to scale down more often #5

Closed roblillack closed 1 year ago

roblillack commented 1 year ago

This PR includes the following changes:

The result looks like this:

comparison-wmaker-icon-scaling-patch

Note, how application icons too large before are scaled to fix the configured app icons size better now.

There is a tiny little regression for the NEdit icon (b/w bitmap) as this icon includes the padding in the image data and is scaled without a reason. This can be improved in the future using some edge detection algoithm

gryf commented 1 year ago

Hi. Could you propose this patch on upstream wmaker?

roblillack commented 1 year ago

Hi. Could you propose this patch on upstream wmaker?

Done. Thanks!