Patent ID: 8896722

Claim:
An image data processing apparatus comprising: a data size conversion device that changes a data size of an image data at an optional ratio from a first image data to a second image data, the first image data having a plurality of pixels each of which includes one of a plurality of color components, the plurality of color components being arranged in a specific order, and each pixel of the second image data having a newly calculated color component value, wherein the newly calculated color component value of the each pixel of the second image data is calculated by the data size conversion device based upon color component values of a plurality of same color pixels of the first image data, a newly calculated color component value of a first pixel of the second image data being calculated by the data size conversion device based upon color component values of a first plurality of same color pixels of the first image data, the first pixel and the first plurality of same color pixels having a same color component of the plurality of color components, and a newly calculated color component value of a second pixel of the second image data being calculated by the data size conversion device based upon color component values of a second plurality of same color pixels of the first image data, the second pixel and the second plurality of same color pixels having the same color component of the plurality of color components, the data size conversion device calculates the newly calculated color component value of the each pixel while maintaining an order of arrangement of the plurality of color components from the first image data to the second image data, the data size conversion device uses a first coefficient to calculate the newly calculated color component value of the first pixel of the second image data and uses a second coefficient to calculate the newly calculated color component value of the second pixel of the second image data, wherein the first coefficient and the second coefficient are different, according to a difference between (1) a first positional relationship of the first pixel of the second image data and the first plurality of same color pixels of the first image data and (2) a second positional relationship of the second pixel of the second image data and the second plurality of same color pixels of the first image data, the first positional relationship and the second positional relationship being different from each other the first pixel and the second pixel are lined in order as pixels of the same color component in the second image data, the first plurality of same color pixels of the first image data are lined in order as pixels of the same color component in the first image data, and the second plurality of same color pixels of the first image data are lined in order as pixels of the same color component in the first image data.