Dear Gurus,
I Appriciate your efforts in Fuse which is very great tools we have ever !. Then, i have faced a problem with Image tools resize in the following Case with iOS only !!
The parameter : performInPlace:false
caused the problem and when i remove it the code works fine !
Camera.takePicture().then(
function(image) {
var args = { desiredWidth:1280, desiredHeight:720 , mode:ImageTools.KEEP_ASPECT, performInPlace:false};
ImageTools.resize(image, args).then(
function(image2) {
// CameraRoll.publishImage(image);
displayImage(image2);
}
).catch(
function(reason) {
console.log("Couldn't resize image: " + reason);
}
);
}
).catch(
function(reason){
console.log("Couldn't take picture: " + reason);
}
);
Best,
Ahmad