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?
Speeding up the display of a large jpg image
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Speeding up the display of a large jpg image
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?
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?
-
ChrisMukrow
- Posts: 73
- Joined: Mon Nov 12, 2012 4:13 pm
Re: Speeding up the display of a large jpg image
Hi,
How big is your image, because we're doing the same on iOS (iPhone), without any performance problems.
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
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.
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
You might want to experiment with the "prepare image" command. That preloads them.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Speeding up the display of a large jpg image
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
Right, you'd probably want to preload the next one at the end of the handler that displays the current one.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Speeding up the display of a large jpg image
Did you change layer mode to Dynamic or Scrolling?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Speeding up the display of a large jpg image
Thank youjacque wrote:Right, you'd probably want to preload the next one at the end of the handler that displays the current one.
I MaxV , could be useful?MaxV wrote:Did you change layer mode to Dynamic or Scrolling?
Re: Speeding up the display of a large jpg image
I read something about it, it changes the update process and it's recommended to change it Dynamic for games and frequent updates.Mag wrote:I MaxV , could be useful?MaxV wrote:Did you change layer mode to Dynamic or Scrolling?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Speeding up the display of a large jpg image
Interesting, I will read up on this.
