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

Store and retreive image/bitmapdata to/from local storage in iOS-app

Explorer ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

I'm trying to store and retreive cam-captured bitmapdata to the local app-space, but after a whole day of searching and trying I can't find any working example.

It's no problem capturing cam-bitmapdata, but how to store (and retreive).

Thanks!

TOPICS
Development

Views

518

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
Advocate ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

If its just a problem of saving the bitmapdata, follow along:

http://actionsnippet.com/?p=1093

Use http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html#applic... to resolve to the correct location.

Votes

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
Explorer ,
Apr 25, 2013 Apr 25, 2013

Copy link to clipboard

Copied

LATEST

I tried the code you suggested, but it took about 8 seconds to write a single image file of 640x640px ... and after saving it, I didn't manage do load it, because I was not not able to track it's destination.

In the end I used this example to read and write a ByteArray en convert it to/from bitmapData, which is pretty speedy!

http://googolflex.com/?p=703

Thanks for thinking with me.

Votes

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