Closed Arxcis closed 6 years ago
Ah of course! Thank you very much :+1:
Solution
DON'T pass dataurl
as agrument to piexifjs.dump
. It takes an exifojb
as argument, which is returned from the piexifjs.load
.
Example of correct usage
let exifojb = piexifjs.load(dataurl);
let exifstr = piexifjs.dump(exifobj);
Code failing
Error message
Environment Chrome 70 Vue 3.1.0 cmd
vue-cli-service serve --watch
"piexifjs": "^1.0.4",MDN Related error https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/in_operator_no_object
Nobody else get this error? Fixed in piexif 2.0 ? Scanning through the source codes I can see that the
in
operator is used everywhere.