[
https://issues.apache.org/jira/browse/CB-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon MacDonald resolved CB-940.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
I spent sometime refactoring the camera code so that it uses less memory. For
now I'm going to close this issue and re-open it if the memory errors re-occur.
> Android image compression algorithm uses too much memory.
> ---------------------------------------------------------
>
> Key: CB-940
> URL: https://issues.apache.org/jira/browse/CB-940
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 0.9.5, 0.9.6, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0,
> 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1
> Reporter: Simon MacDonald
> Assignee: Simon MacDonald
> Fix For: 1.9.0
>
>
> We need to write our own version of jpg compression algorithm as the one that
> Android has implemented in Bitmap.compress requires the entire image to be
> loaded in memory which can cause out of memory errors.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira