From 546c0e7822e875030d5436701af864359a9e1d3f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 21 Sep 2016 10:48:01 -0700 Subject: [PATCH] Mention createFromPath failure cases --- docs/api/native-image.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api/native-image.md b/docs/api/native-image.md index 0e16e30ee1ee..108d7e92730d 100644 --- a/docs/api/native-image.md +++ b/docs/api/native-image.md @@ -120,7 +120,9 @@ Creates an empty `NativeImage` instance. * `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 const nativeImage = require('electron').nativeImage