Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

A way to handle the texture memory of a photo?
Started by dodi_games Aug 04 2018 05:39 PM

1 reply to this topic

Best Answer Rob Miracle , 05 August 2018 - 10:57 AM

If your device has a high-resolution camera, it should have enough memory to handle the larger images. I wouldn't worry about 135mb of texture memory on those devices.

 

Rob

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 288 posts
  • Corona SDK

Hello! I have managed to handle the texture memory so that the entire App runs at 62-64mb. My App is heavily loaded with high resolution images. I would like to know if there is any way to handle a photo captured with "media.capturePhoto ()". I did not expect the variety of cameras on different Android devices. A single photo of a premium device ups the texture memory to 115mb and I've tried devices that raise it to 135mb. I do not know if that drastic rise in memory is of great importance.

The scene that uses the photo is the main scene of my App. And that photo is there until the user decides to erase it because it is the only scene that I do not remove of the App.

Thanks
DoDi



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,714 posts
  • Corona Staff

  Best Answer

If your device has a high-resolution camera, it should have enough memory to handle the larger images. I wouldn't worry about 135mb of texture memory on those devices.

 

Rob


  • Alan PlantPot and dodi_games like this


[topic_controls]
[/topic_controls]