# Image Resize Problem iOS

**URL:** <https://forums.fusetools.com/t/image-resize-problem-ios/1574>\
**Category:** Bug Reports\
**Created:** [September 19, 2017, 2:13pm UTC](https://forums.fusetools.com/t/image-resize-problem-ios/1574 "2017-09-19T14:13:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Diab](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ahmed_diab/32/692_2.png) [@Ahmed\_Diab](https://forums.fusetools.com/u/Ahmed_Diab)\
**Post date:** [September 19, 2017, 2:13pm UTC](https://forums.fusetools.com/t/image-resize-problem-ios/1574/1 "2017-09-19T14:13:41Z")

</div>

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 !

```auto
  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

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [September 19, 2017, 2:24pm UTC](https://forums.fusetools.com/t/image-resize-problem-ios/1574/2 "2017-09-19T14:24:06Z")

</div>

Hi, and thanks for reporting!

What is the problem? Does the image not resize, does the app crash, or something else happens?

What target do you experience the problem on? Is it iPhone or iPad, and what is the iOS version?

Which Fuse version, and on what OS are you experiencing this?

---

<div class="post-metadata">

**Author:** ![Ahmed\_Diab](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ahmed_diab/32/692_2.png) [@Ahmed\_Diab](https://forums.fusetools.com/u/Ahmed_Diab)\
**Post date:** [September 20, 2017, 6:17am UTC](https://forums.fusetools.com/t/image-resize-problem-ios/1574/3 "2017-09-20T06:17:54Z")

</div>

About Fuse version is : 1.2.1 on MacOS Sierra

The problem is the image not resized, and through exception `not supported`. The app not crash neither any error more that the exception.

About my device is iPhone 7 Plus with iOS 10.3.3

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [September 20, 2017, 12:41pm UTC](https://forums.fusetools.com/t/image-resize-problem-ios/1574/4 "2017-09-20T12:41:09Z")

</div>

Thanks for the details! I’ve reproduced the issue and logged [a ticket](https://github.com/fusetools/fuselibs-public/issues/480) for it, and you can watch the progress there.
