1. A method for processing image data, said method comprising: a) receiving uncompressed image data comprising a plurality of pixels representing an image to be rendered; b) grouping said pixels into blocks of pixels, wherein there is a maximum number of pixels per block and wherein said maximum number of pixels per block is dependent on a resolution for rendering said image; and c) compressing image data comprising said blocks of pixels and outputting compressed image data.