ge0rdi 9976e134ca Fix 'Invert Metro icon color' option for grayscale icons
When `Invert Metro icon color` is enabled `Open-Shell` needs to
distinguish full color icons from monochromatic ones.

Color icons are displayed normally. Monochromatic ones are displayed
inverted (original background becomes transparent and foreground will
get Metro accent color).

Metro icon is loaded from Metro app resources (usually PNG image) as
bitmap with premultiplied alpha channel.
This causes monochromatic image to essentially become grayscale (because
RGB values are multiplied with alpha channel value).

Function `DetectGrayscaleImage` is used to distinguish such images.

Unfortunatelly if original image is grayscale (such as new Windows
Terminal icon) it is recognized as monochromatic and thus inverted.

To prevent this we will take into account also alpha channel in
`DetectGrayscaleImage`.

In monochromatic images alpha channel value will be the same as the rest of
channel values.
For color images alpha channel value will be different than other
channel values.

Fixes #364.
2020-06-07 06:47:03 +02:00
2018-07-29 18:12:08 +02:00
2019-12-05 10:27:59 +01:00
2019-10-01 19:07:03 +02:00
2018-08-05 15:22:10 -04:00
2018-06-25 01:42:52 -04:00
2020-01-29 18:22:08 +11:00

Open-Shell Open-Shell

Originally Classic Shell by Ivo Beltchev

GitHub Release GitHub Pre-Release Build status GitQ Gitter chat

Home Page

Discussion room

Latest nightly build

Features

  • Classic style Start Menu for Windows 7, 8, 8.1, 10
  • Toolbar for Windows Explorer
  • Classic copy UI (Windows 7 only)
  • Show file size in Explorer status bar
  • Title bar and status bar for Internet Explorer

Download

If you just want to use it or looking for setup file, click here to download!!!

GitHub All Releases

Temporary Translation/Language Solution

Translations/Language files/DLLs

  1. Download .dlls from here https://coddec.github.io/Classic-Shell/www.classicshell.net/translations/index.html

  2. After you download the DLL file you need to place it either in the Open-Shell's install folder or in the %ALLUSERSPROFILE%\Open-Shell\Languages folder.


For archival reasons, we have a mirror of www.classicshell.net here.

How To Skin a Start Menu

Classic Shell - Custom Start Buttons

Report a bug/issue or submit a feature request

Languages
C++ 66.4%
HTML 20.8%
Rich Text Format 9.1%
C 3.1%
Batchfile 0.6%