摘要 |
An image resolution conversion method which can cope with arbitrary magnifications including non-integer magnifications with simple operation and sequence, has an identical interface, and can be efficiently installed in a printer driver, and a resolution conversion module that implements the method. The resolution conversion module receives information representing the resolutions before and after conversion from an image processing program, and calculates the magnification or reduction value for each pixel of an original image before conversion on the basis of the received information. The module receives information of a processing region, which is segmented with reference to the image size after conversion, from the image processing program, and obtains that region on the original image before conversion, which corresponds to the segmented processing region, on the basis of the magnification or reduction values for pixels. The module passes the information of the obtained region of the original image to the image processing program, and requests the image processing program to transfer original image data. The module changes the size of the original image data of the obtained region on the original image received from the image processing program on the basis of the magnification or reduction values for pixels for each region, and passes the data after resolution conversion of the region to the image processing program. |