Page 1 of 1
Speeding up the display of a large jpg image
Posted: Fri Jan 24, 2014 3:49 pm
by Mag
Hi all,
I'm creating a gallery with a single card and an image control. When user swipes a new image is displayed setting fileName property of the control (I'm using a lock screen with effects to give the perception of switch from an image to another). Somebody of you has find a way to improve the speed of displaying a large image in a image control?

Re: Speeding up the display of a large jpg image
Posted: Fri Jan 24, 2014 4:16 pm
by ChrisMukrow
Hi,
How big is your image, because we're doing the same on iOS (iPhone), without any performance problems.
Re: Speeding up the display of a large jpg image
Posted: Fri Jan 24, 2014 5:44 pm
by Mag
Great to hear this.
The image control size depends by the width of the device's display, for example 1600 px in a Kindle Fire.
The image file size depends on device's camera, for example 2400x3200 px in a Kindle Fire.
There's just a little 'late, I'd love if you could eliminate.
Re: Speeding up the display of a large jpg image
Posted: Sat Jan 25, 2014 11:28 pm
by jacque
You might want to experiment with the "prepare image" command. That preloads them.
Re: Speeding up the display of a large jpg image
Posted: Sun Jan 26, 2014 1:42 pm
by Mag
Thank you, it has to be used a bit before the image is actually needed right?
Re: Speeding up the display of a large jpg image
Posted: Sun Jan 26, 2014 6:41 pm
by jacque
Right, you'd probably want to preload the next one at the end of the handler that displays the current one.
Re: Speeding up the display of a large jpg image
Posted: Tue Jan 28, 2014 10:25 am
by MaxV
Did you change layer mode to Dynamic or Scrolling?
Re: Speeding up the display of a large jpg image
Posted: Wed Feb 19, 2014 6:15 pm
by Mag
jacque wrote:Right, you'd probably want to preload the next one at the end of the handler that displays the current one.
Thank you
MaxV wrote:Did you change layer mode to Dynamic or Scrolling?
I MaxV , could be useful?
Re: Speeding up the display of a large jpg image
Posted: Fri Feb 21, 2014 9:43 am
by MaxV
Mag wrote:
MaxV wrote:Did you change layer mode to Dynamic or Scrolling?
I MaxV , could be useful?
I read something about it, it changes the update process and it's recommended to change it Dynamic for games and frequent updates.
Re: Speeding up the display of a large jpg image
Posted: Fri Feb 21, 2014 12:22 pm
by Mag
Interesting, I will read up on this.