摘要 |
This invention suppresses mixing of different types of encoded data in an image area having a specific image property while allowing mixing of losslessly encoded data and lossily encoded data. For this purpose, an input unit inputs image on an image block basis. A conversion unit converts the resolution of the image data to ½ by generating one pixel from 2×2 pixels. A first encoding unit lossily encodes the converted image data. A second encoding unit losslessly encodes the image data for each image block. A selecting unit selects encoded data with a smaller code amount. A determination unit determines whether an image block of interest has a specific image property, and outputs the determination result to the selecting unit. If the image of interest has a specific image property, the selecting unit selects and outputs encoded data of the type set by a control unit in advance.
|