[Ssc-dev] InformaCam Experimental Build 149-DEV

Nathan of Guardian nathan at guardianproject.info
Fri Sep 26 09:27:08 EDT 2014


On Fri, Sep 26, 2014, at 08:56 AM, David Oliver wrote:

This sounds like a considerable effort, Nathan, and I'm sure
it's much-appreciated.



Just doing my job. Fortunately, this falls under work we need
to do for Benetech/Martus, in terms of allowing external apps
to trigger InformaCam for the sensor-only mode, and improving
over all efficiency.




Question: How are thumbnails being generated for the gallery
if...you're no longer generating them (the implication of the
loading-full-bitmap section of your note)?



We are generating the thumbnails, but instead of loading the
full bitmap into memory, then downsizing it, I am using the
feature that allows Android to load scaled down images directly
from the source bitmap
data: [1]http://developer.android.com/training/displaying-bitma
ps/load-bitmap.html



I think this was the intention all along, but there were a few
small bugs/typos that caused the full bitmap to load.



+n

References

1. http://developer.android.com/training/displaying-bitmaps/load-bitmap.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mayfirst.org/pipermail/ssc-dev/attachments/20140926/7d07e2e5/attachment.html>


More information about the Ssc-dev mailing list