Patent ID: 8126280
Filing Date: 2012-02-28
Classification: H04N

Abstract:
1. A computer-implemented method comprising: determining a downscaling factor for a compressed image based on an original resolution of the compressed image and a screen resolution of a mobile device storing the compressed image, wherein the image is compressed using a Joint Photographic Experts Group (JPEG) format and includes a plurality of scanlines; determining a quantity of scanlines of the compressed image based on the determined downscaling factor, the quantity of scanlines being a subset of the plurality of scanlines; detecting a low memory condition of a mobile device; iteratively decompressing the quantity of scanlines each comprising a horizontal, one-pixel-high row of the image; downscaling, for each iterative decompression, the iteratively decompressed quantity of scanlines if the low memory condition is detected, further comprising: assembling a decompressed image with the target resolution using the iteratively decompressed quantity of scanlines; upscaling the assembled image; and outputting the upscaled image at the mobile device, wherein the upscaled image and the compressed image share a same aspect factor.