• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

help: ios large image problems

Engaged ,
Jun 11, 2014 Jun 11, 2014

Copy link to clipboard

Copied

I'm developing an app that shows retina images in a kind of photo album.

I'm having stutters when moving the photos and according to Scout the problem comes when rendering dirty regions.

I'm using loaderContext.imageDecodingPolicy = ImageDecodingPolicy.ON_LOAD; to in theory decode the images in a separate thread. Also, because Adobe Air clears the memory of a bitmapData that is not being used after 10 seconds, I'm using the getPixel trick to keep the bitmapData alive and avoid redecoding the images and getting more stutters. Even if I preload all the images before showing the photo album I get stuttering. I presume I'm hitting some memory limit.

I'm trying to find a workaround, such as loading low resolution files, and then showing the retina image, but my client insists he wants retina images. He says (and it's true) the Apple photo gallery moves retina images without any hiccup.

Anyone has any idea on how to solve this?

TOPICS
Development

Views

172

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines