## High resolution image
On platforms that have high-DPI support, you can append `@2x` after image's
-file name's base name to mark it as a high resolution image.
+base filename to mark it as a high resolution image.
For example if `icon.png` is a normal image that has standard resolution, then
`icon@2x.png` would be treated as a high resolution image that has double DPI
density.
-If you want to support displays with different DPI density at the same time, you
-can put images with different sizes in the same folder, and use the filename
-without DPI suffixes, like this:
+If you want to support displays with different DPI densities at the same time,
+you can put images with different sizes in the same folder and use the filename
+without DPI suffixes. For example:
```text
images/
var appIcon = new Tray('/Users/somebody/images/icon.png');
```
-Following suffixes as DPI denses are also supported:
+Following suffixes for DPI are also supported:
* `@1x`
* `@1.25x`
Template images are not intended to be used as standalone images and are usually
mixed with other content to create the desired final appearance.
-The most common case is to use template image for menu bar icon so it can adapt
-to both light and dark menu bars.
+The most common case is to use template images for a menu bar icon so it can
+adapt to both light and dark menu bars.
-Template image is only supported on OS X.
+**Note**: Template image is only supported on OS X.
To mark an image as a template image, its filename should end with the word
-`Template`, examples are:
+`Template`. For example:
* `xxxTemplate.png`
* `xxxTemplate@2x.png`
## Instance Methods
-The following methods are available on instances of `nativeImage`
+The following methods are available on instances of `nativeImage`:
```javascript
var NativeImage = require('native-image');