Preparing search index...

    Variable MAX_OCR_RETRY_SIDE_PXConst

    MAX_OCR_RETRY_SIDE_PX: 4096

    Longest side, in pixels, an upscaled retry image may have. A 4096 x 4096 RGBA bitmap takes about 64 MB and 4096 is the texture size limit common to mobile GPUs, so staying under it keeps the resize from exhausting native memory on large camera photos.