Merge pull request #2453 from etiktin/nativeimage_ico_support_windows
Add support for using .ico icon files on Windows
This commit is contained in:
commit
ec18c2f354
2 changed files with 40 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue