From Local Path
PhotoEditor SDK supports loading photos from the local file system such as the documents or a temporary directory, as well as the application resources.
Open the editor#
To load the photo into the editor simply specify it as the
image parameter inside the asynchronous
PESDK.openEditor function. In this example, we load a photo from the local path into the editor.