Mention createFromPath failure cases

This commit is contained in:
Kevin Sawicki 2016-09-21 10:48:01 -07:00
parent c2c48c4079
commit 546c0e7822

View file

@ -120,7 +120,9 @@ Creates an empty `NativeImage` instance.
* `path` String * `path` String
Creates a new `NativeImage` instance from a file located at `path`. Creates a new `NativeImage` instance from a file located at `path`. This method
returns an empty image if the `path` does not exist, cannot be read, or is not
a valid image.
```javascript ```javascript
const nativeImage = require('electron').nativeImage const nativeImage = require('electron').nativeImage