Patent ID: 7567732

Claim:
A method to convert a resolution of a digital color image using any color space comprises the following steps: (1) calculate scale of conversion of the resolution of a source image to a destination image in x- and y-direction; (2) calculate number of rows of pixels of the destination image according to scale of conversion desired in y-direction; (3) calculate number of pixels contained in a row of pixels of the destination image according to scale of conversion desired in x-direction; and (4) calculate color values of each pixel along the rows of pixels of the destination image by interpolation from nearest row of pixels of source image wherein the color values of the pixels of the destination image being located between the left side edge of the source image and the first pixel of the nearest row of pixels of the source image and the color values of the pixels of the destination image being located between the right side edge of the source image and the last pixel of the nearest row of the source image are provided by replicating the color values of said first, or correspondingly said last, pixel of the nearest row of the source image, wherein said digital color image is used in a digital camera.