I have used this code for getting File object of a input file (I have tested it by console.log and it is correct).
var file = event.target.files[0];
The object code that I obtain it's like:
File
lastModified: 1526981976000
lastModifiedDate: Date 2018-05-22T09:39:36.000Z
Name:"path.png"
size: 19776
type: "image/png"
webkitRelativePath: ""...
However, now I want to get that kind of File object, but through a image path saved into my file system. Is it possible?