mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Updated native-image.md
Add a mention of the support for .ico files on Windows
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user