# Some pictures from Camera roll WONT upload

**URL:** <https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650>\
**Category:** Bug Reports\
**Created:** [January 27, 2017, 8:38pm UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650 "2017-01-27T20:38:55Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan2](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ryan2/32/571_2.png) [@ryan2](https://forums.fusetools.com/u/ryan2)\
**Post date:** [January 27, 2017, 8:38pm UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/1 "2017-01-27T20:38:55Z")

</div>

Installed the camera roll package and it’s working beautifully except for one thing. I would say a third of all my pictures in my camera roll simply will not get picked up from the gallery.

I get this in monitor:

LOG: InternalError: ImageSource error: Error while reading JPEG file: Application transferred too few scanlines in Fuse.Resources.FileImageSourceImpl\</Users/ryanhashemi/Library/Application Support/Fusetools/Packages/Fuse.Elements/0.43.11/resources/$.uno:608\>

Why are some pictures not getting selected? Anything come to mind?

---

<div class="post-metadata">

**Author:** ![ryan2](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ryan2/32/571_2.png) [@ryan2](https://forums.fusetools.com/u/ryan2)\
**Post date:** [January 31, 2017, 10:39pm UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/2 "2017-01-31T22:39:43Z")

</div>

Any idea as to what could be going on here?

---

<div class="post-metadata">

**Author:** ![Andreas\_Ronning](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/andreas_ronning/32/303_2.png) [@Andreas\_Ronning](https://forums.fusetools.com/u/Andreas_Ronning)\
**Post date:** [February 1, 2017, 1:03am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/3 "2017-02-01T01:03:00Z")

</div>

Hey Ryan, sorry it`s taken so long to get back to you. Does this happen on both iOS and Android?

---

<div class="post-metadata">

**Author:** ![ryan2](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ryan2/32/571_2.png) [@ryan2](https://forums.fusetools.com/u/ryan2)\
**Post date:** [February 1, 2017, 1:14am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/4 "2017-02-01T01:14:14Z")

</div>

Hey Andreas,

We’re only building on iOS for now, so only iOS.

---

<div class="post-metadata">

**Author:** ![Andreas\_Ronning](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/andreas_ronning/32/303_2.png) [@Andreas\_Ronning](https://forums.fusetools.com/u/Andreas_Ronning)\
**Post date:** [February 1, 2017, 1:31am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/5 "2017-02-01T01:31:14Z")

</div>

Is it 100% reproducible, so the same images fail every time and the images that work work every time?

---

<div class="post-metadata">

**Author:** ![ryan2](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ryan2/32/571_2.png) [@ryan2](https://forums.fusetools.com/u/ryan2)\
**Post date:** [February 2, 2017, 8:49pm UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/6 "2017-02-02T20:49:18Z")

</div>

Hey Andreas,

It seems like it’s almost 100% reproducible, not really. For instance, there are pictures in my gallery that I have identified that tend to not load… however, this morning I opened the gallery and selected that picture and it loaded. I tried it again later though, and it did not load. Has a 95% failure rate, but will work on occasion.

It seems there are certain pictures that more often that not will not work. It doesn’t seem completely random. With that being said, I’m making sure the pictures are native unfiltered regular pictures (nothing special about them). So, not really sure what’s going on.

Would love some help.

Ryan

---

<div class="post-metadata">

**Author:** ![Andreas\_Ronning](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/andreas_ronning/32/303_2.png) [@Andreas\_Ronning](https://forums.fusetools.com/u/Andreas_Ronning)\
**Post date:** [February 3, 2017, 1:27am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/7 "2017-02-03T01:27:40Z")

</div>

Yeah we want to figure this one out too 🙂 Naive interpretation is this smells like memory problems.

How big are these pictures? Do you notice it failing more often with larger files than with smaller ones? Have you tried running the picture you got from the CameraRoll through ImageTools.resize to a smaller size and see if that plays nicer? Thanks for your patience with this

---

<div class="post-metadata">

**Author:** ![ryan2](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ryan2/32/571_2.png) [@ryan2](https://forums.fusetools.com/u/ryan2)\
**Post date:** [March 4, 2017, 2:13am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/8 "2017-03-04T02:13:57Z")

</div>

Hey Andreas,

Still have this problem. Kind of important as every user will be uploading a profile picture. I tried through ImageTools.resize and still have the same issue. Some images load and some don’t. We’re having the same issues using different pictures on all three of our phones (1/3 - 1/2 of pictures wont load & sometimes the same picture wont load a different time) .

---

<div class="post-metadata">

**Author:** ![Andreas\_Ronning](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/andreas_ronning/32/303_2.png) [@Andreas\_Ronning](https://forums.fusetools.com/u/Andreas_Ronning)\
**Post date:** [March 4, 2017, 4:10am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/9 "2017-03-04T04:10:16Z")

</div>

Bumping priority for this one Ryan, sorry about how long this is taking, the team is a little stretched (see our hiring ads).

I’ll push to get this addressed asap, obviously profile pic uploads is a super common scenario.

---

<div class="post-metadata">

**Author:** ![cosku](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cosku/32/402_2.png) [@cosku](https://forums.fusetools.com/u/cosku)\
**Post date:** [April 12, 2017, 4:30pm UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/10 "2017-04-12T16:30:45Z")

</div>

I think it comes from the same issue, It occurs when I try to resize an image from camera roll.

```auto
LOG: InternalError: ImageSource error: 'BundleFileImageSource-failed-conversion': Error while reading JPEG file: Application transferred too few scanlines in Fuse.Resources.FileImageSourceImpl</Users/coskudemirhan/Library/Application Support/Fusetools/Packages/Fuse.Elements/0.47.7/resources/$.uno:616>

```

---

<div class="post-metadata">

**Author:** ![ryan2](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ryan2/32/571_2.png) [@ryan2](https://forums.fusetools.com/u/ryan2)\
**Post date:** [April 13, 2017, 2:05am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/11 "2017-04-13T02:05:16Z")

</div>

Thanks. This is no longer a priority for me - we’ve stopped developing with Fuse and switched to Native.

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [November 9, 2018, 7:24am UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/12 "2018-11-09T07:24:29Z")

</div>

Yeah, sending an original sized photo from a hi-res camera over the wire doesn’t make sense. For anyone else having a similar issue, Promise.all() and ImageTools.resize() worked for me 🙂,

---

<div class="post-metadata">

**Author:** ![Enrico](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/enrico/32/144_2.png) [@Enrico](https://forums.fusetools.com/u/Enrico)\
**Post date:** [May 20, 2019, 2:26pm UTC](https://forums.fusetools.com/t/some-pictures-from-camera-roll-wont-upload/5650/13 "2019-05-20T14:26:54Z")

</div>

I’m facing the same problem which is reported in [github](https://github.com/fuse-open/fuselibs/issues/1272).
