javascript - Reduce image decoding time for Cordova iOS app -



javascript - Reduce image decoding time for Cordova iOS app -

i'm creating ios app cordova uses css3 animation transitions false slide in/out , pop in/out page navigation.

the issue experiencing after animation completes images flashes fraction of ms (only on mobiles, not visible on desktop). images stored locally. monitoring timeline i've found biggest performance burden given image decoding time. image of 1020px takes around 24ms load. if cut down image size 320px decoding time goes downwards 0.9ms. how can dynamically resize images target view port before dom loaded? i've looked @ answer i've found bit complex limited javascript knowledge.

any tip appreciated.

daniela

javascript ios cordova css-animations

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -