index.js:1 Uncaught ReferenceError: hight is not defined
at Function.value (index.js:1)
at Function.value (index.js:1)
at Image.t.onload (index.js:1)
a(e=Math.round(hight
to repro:
Resizer.imageFileResizer (
myBlob,
3000, // maxWidth, // is the maxWidth of the new image
3000, // maxHeight, // is the maxHeight of the new image
'JPEG', // compressFormat, // is the compressFormat of the new image
100, // quality, // is the quality of the new image
90, // rotation, // is the degree of clockwise rotation to apply to the image.
uri => {
//aaa
debugger;
console.log ( uri );
myIContentState.dailyContent.url = uri;
},
'base64', // outputType, // is the output type of the new image
3000, // minWidth, // is the minWidth of the new image
3000, // minHeight, // is the minHeight of the new image
);
} )
Another typo -
code breaks when run.
index.js:1 Uncaught ReferenceError: hight is not defined at Function.value (index.js:1) at Function.value (index.js:1) at Image.t.onload (index.js:1)
a(e=Math.round(hight
to repro:
seems issue in in changeHeightWidth()