Patent ID: 8260056

Claim:
A method of positioning contents of an original image frame into a new image frame of multiple image blocks, said method comprises the steps of: using a processor, resizing said original image frame while keeping an aspect ratio of said original image frame; using the processor, identifying a straight boundary of at least one image block in said new image frame; using the processor, aligning a first edge of said original image frame with said identified straight boundary to so position corresponding contents of said original image frame into said new image frame; using the processor, aligning a second edge of said original image frame with a second edge of said new image frame; using the processor, aligning a third opposite edge of said original image frame with a third opposite edge of said new image frame; using the processor, identifying a surplus portion of said original image frame not being aligned with and extending beyond a boundary of a row or column of image blocks in said new image frame; using the processor, comparing a size of said identified surplus portion with a minimum threshold; and using the processor, cropping said original image frame so that a formed edge of said original image frame aligns with a boundary of a row or column of image blocks in said new image frame if said size is smaller than said minimum threshold.