Merge pull request #2453 from etiktin/nativeimage_ico_support_windows

Add support for using .ico icon files on Windows
This commit is contained in:
Cheng Zhao 2015-08-21 11:45:12 +08:00
commit ec18c2f354
2 changed files with 40 additions and 5 deletions

View file

@ -21,8 +21,10 @@ var appIcon = new Tray(image);
## Supported formats
Currently `PNG` and `JPEG` are supported. It is recommended to use `PNG`
because of its support for transparency and lossless compression.
Currently `PNG` and `JPEG` are supported. It is recommended to use `PNG` because
of its support for transparency and lossless compression.
On Windows, you can also load `ICO` icon from a file path.
## High resolution image