1. A method of processing an image having a file size larger than RAM space allocated for storing image data on a device, the method comprising: dividing the image data into a number of portions of image data, each portion consisting of a number of untruncated data lines; applying to each said portion of image data a rasterizing algorithm comprising: a. writing said portion of image data to a RAM; b. halftoning said portion of said image data for obtaining a portion of rasterized image data, and c. writing the portion of rasterized image data to a mass memory; assembling the portions of rasterized image data on the mass memory for obtaining rasterized image data; dividing the rasterized image data into a number of blocks; and applying a transformation algorithm to each block of rasterized image data for obtaining blocks of processed image data.