mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-05-17 13:17:02 -04:00
To reduce the amount of memory used in generating barcodes, limit the width of the barcodes to no more than 3x the height. This should be plenty sufficient to generate a usable barcode. On devices with a really long width generating a barcode of 200x2560 is not useful and can result in an OutOfMemoryError.