summaryrefslogtreecommitdiff
path: root/sample/src/main/java/example
diff options
context:
space:
mode:
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>2013-01-20 00:48:03 +0400
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>2013-01-20 00:48:03 +0400
commit7bc4562a6cbc472a6bb871a73b18fc48da85b583 (patch)
treec07d9fcfb102854eb01648f3cb7d37399e17ebb9 /sample/src/main/java/example
parentc9ca1d487db16f95b498cb29c2cc34b4a6eb4161 (diff)
downloadzxing-android-embedded-7bc4562a6cbc472a6bb871a73b18fc48da85b583.tar.xz
On scan we pass a grayscale image of the scanned image, which is used as a thumbnail. These days this is getting to be 2MB of data to bundle to copy around in memory. Instead scale by 50% and JPEG-encode. This saves some memory and paves the way for later perhaps saving the image data with history.
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@2561 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Diffstat (limited to 'sample/src/main/java/example')
0 files changed, 0 insertions, 0 deletions