Patent ID: 8189781

Claim:
A method comprising: (A) obtaining an original digital image, said original digital image having a size consisting of a first number of pixels, said original digital image having a horizontal resolution and a vertical resolution; (B) based at least in part on said size of said original image, determining a pixel block size, by: (b1) creating a first array of factors of the horizontal resolution of the original image and a second array of factors of the vertical resolution of the original image; (b2) forming a matrix of multiples of the factors in the first array and the factors in the second array, wherein each multiple of two factors in the matrix represents a corresponding number of chunks for those two factors; (b3) selecting a combination of factors from the matrix which results in the fewest chunks while keeping the number of chunks less than a preset value, wherein the selected combination of factors correspond to a horizontal resolution of the pixel block and a vertical resolution of the pixel block; (C) based on said pixel block size as determined in (B), dividing the original image into a plurality of pixel blocks; (D) forming a scrambled image by rearranging the plurality of pixel blocks into a corresponding plurality of rearranged pixel blocks, wherein each pixel block has an original position in the original image and a rearranged position in the scrambled image; (E) while forming the scrambled image in (D), maintaining a map of the rearranged positions of the plurality of rearranged pixel blocks relative to their corresponding original positions in the original image; and (F) using said map to form a markup language description to enable display of the original image from the scrambled image, wherein the horizontal resolution of the pixel block and the vertical resolution of the pixel block are selected, at least in part, to reduce the size of the markup language description.